json module
Core framework Console Desktop
The json module allows for encoding and decoding JSON data
| Functions | Description | Return value |
|---|---|---|
| json.decode() | Generate a Lua value from a JSON string | any |
| json.encode() | Encode a Lua value to a JSON representation string | string |
| json.load() | Load and decode a file containing JSON data | any nil |
| json.save() | Encode a Lua value to a JSON representation string and save it to a file | boolean |