JSON Escape Action
The JSON Escape Action node can be used to escape a given JSON payload.
You can input the payload manually as plain text, or by using the wildcards {node.result.} or {stream.last_result}.
Alternatively, the payload can be read from a JSON file in storage using the wildcard {file.content.?}.
Please ensure that the input JSON payload is valid.

Example
Input
{
"id": 12345,
"name": "Sample User",
"email": "[email protected]",
"isActive": true,
"roles": [
"admin",
"editor"
],
"preferences": {
"notifications": true,
"theme": "dark",
"language": "en"
}
}
Output
{\n
"id": 12345,\n
"name": "Sample User",\n
"email": "[email protected]",\n
"isActive": true,\n
"roles": [\n
"admin",\n
"editor"\n
],\n
"preferences": {\n
"notifications": true,\n
"theme": "dark",\n
"language": "en"\n
}\n
}\n