Lua:EncodeJson

Lua:EncodeJson

From BeamNG

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)