Lua:EncodeJson

Lua:EncodeJson

From BeamNG

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

Returns json string representation of object 'v'. Supported types are string, number, boolean, and tables. Anything else will return nil.

Location: lua\utils.lua:650

Syntax

string encodeJson (obj v)