# json

JSON on top of lua-cjson.

#### json.decode

`json.decode(text: string)`: any

Decodes a JSON string to a Lua value.

#### json.encode

`json.encode(value: any)`: string

Encodes a Lua value to a JSON string.

#### json.parse

`json.parse(text: string)`: any

Alias of `decode`.

#### json.stringify

`json.stringify(value: any)`: string

Alias of `encode`.