Comment on page
🔓
json
json.parse(json_text: string):
any
Argument | Type | Description |
---|---|---|
json_text | string | UTF-8 JSON text |
Will deserialize any UTF-8 JSON string into a Lua value or table.
json.stringify(value: any):
string
Argument | Type | Description |
---|---|---|
value | any | A lua boolean, number, string, table or nil |
Will serialize a Lua value into a string containing the JSON representation.
Last modified 1yr ago