Appearance
The JSON API is a subset of Playdate's JSON API.
json.decode(json: string)
Decodes a JSON string into a Lua table.
json.encode(data: table)
Encodes a Lua table into a JSON string.
json.encodePretty(data: table)
Encodes a Lua table into a JSON string, with human-readble formatting.