parser

This block is part of the value group and was last modified in core v15.0.0.

parser v10.4.16 Updated v15.0.0

In pins 3
  • URL query required
    value
  • sep
    value

    The substring used to delimit key and value pairs in the query string.

    Default &

  • eq
    value

    The substring used to delimit keys and values in the query string.

    Default =

Out pins 2
  • success
    condition
  • object
    object

Parses the query string into an object; a key that appears more than once becomes an array of its values, and percent-encoding is decoded in both keys and values. Pairs are split on separator (default "&") and keys from values on equal (default "="); an empty value on either pin falls back to that default. success is always true; empty input yields an empty object, and pairs with an empty key are dropped.

A typical wiring for parser: value feeds the querystring pin; the success out pin feeds branch.

Studio canvas example for the parser block: typical wiring for parser.

Version history

Introduced in v10.4.16.

Last modified in v15.0.0.


Back to value Return to the main group to view all sub-groups Back to querystring Return to the group to view all blocks within this group