Lua:Serialize

Lua:Serialize

From BeamNG

Returns the string representation of object "val".

Location: lua\utils.lua:710

Syntax

-- serialization functions, see testSerialization, be aware that you need to add custom datatypes in this in case you need them
-- serialized Lua
string serialize (obj data)