Argumente
string
erforderlich
JSON string, der parsed wird. Die function liest dieses argument mit string type checking.
DecodeOptions
Optional decode options. Ein boolean setzt useNull. Eine table kann useNull und maxDepth setzen.
Rückgaben
any
Decoded value. JSON objects und arrays werden zu tables mit JSON type markers, strings zu Lua strings, numbers zu Lua numbers, booleans zu booleans, und null wird zu json.null, ausser useNull ist false.