A collection of handy JSON tools.
Signature |
|
Type | Function |
Description | Decodes JSON into a table |
Parameters | ​ |
Returns | ​ |
Notes | ​ |
Signature |
|
Type | Function |
Description | Encodes a table as JSON |
Parameters | ​ |
Returns | ​ |
Notes | ​ |
Signature |
|
Type | Function |
Description | Returns a |
Parameters | ​ |
Returns | ​ |
Signature | `cp.json.read(path) -> table | nil` </span> |
Type | Function | ​ |
Description | Attempts to read the specified path as a JSON file. | ​ |
Parameters | ​ | ​ |
Returns | ​ | ​ |
Signature |
|
Type | Function |
Description | Writes data to a JSON file. |
Parameters | ​ |
Returns | ​ |