Mobile2b logo Apps Pricing
Book Demo

Flow Designer Parser node Documentation

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 : 1
  • name : Leanne Graham
  • address.street : Kulas Light
  • hobbies.[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] , where i is the index of the row and j is the index of the column
  • [i] , where i is the index of the row and 0 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

Was this helpful?

tisaxmade in Germany
© Copyright Mobile2b GmbH 2010-2024