Last updated 2 years ago
json.parse(json_text: string): any
json.parse(json_text: string):
any
Will deserialize any UTF-8 JSON string into a Lua value or table.
json.stringify(value: any): string
json.stringify(value: any):
string
Will serialize a Lua value into a string containing the JSON representation.
json_text
UTF-8 JSON text
value
A lua boolean, number, string, table or nil