map and parse

This block is part of the array group and was last modified in core v10.4.28.

map and parse v10.4.28

Takes an array with strings and parses every item.

In pins 2
  • Array required
    array

    The array with strings to parse

  • Concurrency
    number

    How many times this function should be executed in parallel. • Min: 0 • Max: 1000

    Default 10

Out pins 3
  • array
    array

    The array after parsing each item.

  • success
    condition

    Indicates the success of the operation.

  • error
    value

    Error message in case of failure.

Parses each string item as JSON and outputs the parsed values. Non-string and empty-string items are DROPPED before parsing, so the output can be shorter than the input. On the first parse failure: error carries the message, success stays false and array stays null (NO partial results). A missing or non-array input emits error MISSING_ARRAY.

A typical wiring for map and parse: with values feeds the array pin; the array out pin feeds length.

Studio canvas example for the map and parse block: typical wiring for map and parse.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.


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