JSON_PARSE

Parses escaped JSON text. If used in conjunction with Single Value Mode, it will return a JSON object, otherwise it will return unescaped JSON text.

Syntax 

JSON_PARSE(text)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"json": "{\"payload\":{\"key\":\"value\",\"array_example\":[\"foo\",\"bar\"],\"object_example\":{\"key\":\"value\"}}}"
4
}
5
}

Formula

JSON_PARSE(my_action.json)

Output

1
{
2
"payload": {
3
"array_example": [
4
"foo",
5
"bar"
6
],
7
"key": "value",
8
"object_example": {
9
"key": "value"
10
}
11
}
12
}

Sample Actions 

Event Transform
My Action
Event Transform
JSON_PARSE

Select an Action to inspect.

You can also click "Copy Actions" and paste them in your Tines Story to see how they work.

Was this helpful?