|
LifeLua 21-08-2025
Documentation for LifeLua, a Lua interpreter for the PS Vita
|
JSON library. More...
Functions | |
| table | json.decode (string json) |
| string | json.encode (table table) |
| string | json.minify (string json) |
| boolean | json.isnull (jsonnull value) |
| string | json.version (string json) |
Variables | |
| jsonnull | json.null |
| JSON null value. | |
| table json.decode | ( | string | json | ) |
Parses a JSON string to a table
| string json.encode | ( | table | table | ) |
Parses a table to a JSON string
| boolean json.isnull | ( | jsonnull | value | ) |
Checks if a value is null in JSON (nil in Lua and null in JSON aren't the same!)
| string json.minify | ( | string | json | ) |
Minifies a JSON string, removes any pretty formatting.
| string json.version | ( | string | json | ) |