> For the complete documentation index, see [llms.txt](https://docs-csgo.neverlose.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-csgo.neverlose.cc/documentation/variables/json.md).

# 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.
