đjson
Functions:
parse
json.parse(json_text: string):
any
Argument | Type | Description |
---|---|---|
json_text |
| UTF-8 JSON text |
Will deserialize any UTF-8 JSON string into a Lua value or table.
stringify
json.stringify(value: any):
string
Argument | Type | Description |
---|---|---|
value |
| A lua boolean, number, string, table or nil |
Will serialize a Lua value into a string containing the JSON representation.
Last updated