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

# JSON Module

Parses JSON

### parse(json: string)

Converts a JSON object into a lua table.

```lua
local j = require('json');
local obj = j.parse('{"field": "value"}');
d.send(obj.field);
```
