# json

## Functions:

### parse

`json.parse(json_text: string):` <mark style="color:purple;">`any`</mark>

| Argument       | Type         | Description     |
| -------------- | ------------ | --------------- |
| **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):` <mark style="color:purple;">`string`</mark>

| Argument  | Type      | Description                                 |
| --------- | --------- | ------------------------------------------- |
| **value** | **`any`** | A lua boolean, number, string, table or nil |

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