YAML_PARSE

Takes text containing YAML and parses to an object

Syntax 

YAML_PARSE(text)

Usage examples 

Example 1

Input

1
{
2
"my_action": "---\ntimeout: 10\nqueues:\n- one\n- two\n- three\nscheduler:\n max_workers: 10\n"
3
}

Formula

YAML_PARSE(my_action)

Output

1
{
2
"timeout": 10,
3
"queues": [
4
"one",
5
"two",
6
"three"
7
],
8
"scheduler": {
9
"max_workers": 10
10
}
11
}

Sample Actions 

Event Transform
My Action
Event Transform
YAML_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?