🔓json

Functions:

parse

json.parse(json_text: string): any

ArgumentTypeDescription

json_text

string

UTF-8 JSON text

Will deserialize any UTF-8 JSON string into a Lua value or table.

stringify

json.stringify(value: any): string

ArgumentTypeDescription

value

any

A lua boolean, number, string, table or nil

Will serialize a Lua value into a string containing the JSON representation.

Last updated