Module cl_json
JSON Functions
Functions
| ToString (data, indent) | ToString function. |
| ConvertToSafe (data) | ConvertToSafe function. |
Functions
- ToString (data, indent)
-
ToString function.
This function converts a table to a string.
Parameters:
- data The data. table
- indent The indent. boolean
Returns:
-
string
Usage:
local string = exports.jones_util:ToString(data, true)
- ConvertToSafe (data)
-
ConvertToSafe function.
This function converts a table to a safe table.
Parameters:
- data The data. table
Returns:
-
table
Usage:
local safeData = exports.jones_util:ConvertToSafe(data)