json
JSON on top of lua-cjson.
json.decode
Section titled “json.decode”json.decode(text: string): any
Decodes a JSON string to a Lua value.
json.encode
Section titled “json.encode”json.encode(value: any): string
Encodes a Lua value to a JSON string.
json.parse
Section titled “json.parse”json.parse(text: string): any
Alias of decode.
json.stringify
Section titled “json.stringify”json.stringify(value: any): string
Alias of encode.