Parser#
The Parser node can be used to extract values from a Dictionary or Table. These extracted ("parsed") values can be used as variables in subsequent nodes.
Parsing from Dictionary#
Example input:
{
"id": 1,
"name": "Leanne Graham",
"address": {
"street": "Kulas Light"
},
"hobbies": [
"Reading",
"Swimming"
]
}
Example paths and parsed values:
id
: 1name
: Leanne Grahamaddress.street
: Kulas Lighthobbies.[1]
: Swimming
Parsing from Table#
Parsing from a Table will always require the first part of a path to be an index identifier:
[i,j]
, wherei
is the index of the row andj
is the index of the column[i]
, wherei
is the index of the row and0
is assumed for the index of the column
Example input for a one-column table aka. one-dimensional array aka. list:
[
{
"id": 1,
"name": "Leanne Graham",
"address": {
"street": "Kulas Light"
}
},
{
"id": 2,
"name": "Ervin Howell",
"address": {
"street": "Victor Plains"
}
}
]
Example paths and parsed values:
[0].id
: 1[0].name
: Leanne Graham[0].address.street
: Kulas Light[1].name
: Ervin Howell
Example input for a two-column table aka. two-dimensional array:
[
[
"Timothy",
"Josh"
],
[
"Sarina",
"Jarred"
]
]
Example paths and parsed values:
[0,0]
: Timothy[0,1]
: Josh
See Flow Designer