Convert to JSON text
Write a value (Dictionary, List, table...) as JSON text.
Command in the JSON toolkit · id ooa.json/stringify · 3 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Any | Yes | Value to serialise. | |
| Pretty | Boolean | No | false | Spread the JSON over several indented lines for reading. |
| Indent | Number | No | 2 | Spaces per level when pretty is on. |
Outputs
| Output | Type | What it is |
|---|---|---|
| text | String | JSON text. |