> ## Documentation Index
> Fetch the complete documentation index at: https://lua.wingless.one/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON

| Function | Description |
| - | - |
| `json.encode(value)` | Lua value to JSON string |
| `json.decode(string)` | JSON string to Lua value. Returns `value` or `nil, error` |
| `json.null` | Represents JSON `null` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.