Lua:Serialize

Lua:Serialize

From BeamNG

Revision as of 05:44, 24 January 2015 by Nug700 (talk | contribs) (initial.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)