Settings
| Setting | What it is |
|---|---|
| Value | The result is under text. |
| Indentation | Compact is one line — indent when a person will read the output. |
| Sort keys | Sorts keys at every level, so the same data always produces the same text. |
Technical details
| Key | Value |
|---|---|
value | any JSON |
indent | "2" or "4" or "compact" or "tab", by default "compact" |
sortKeys | true/false, by default false |
Output
| Field | Type |
|---|---|
textJSON text | string |
Sample output, and the expression for each field
- text"{\"a\":1}"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"indent": "compact",
"sortKeys": false
},
"label": "Stringify",
"type": "json.stringify",
"version": 1
}