Skip to main content
Applies another accessor to each child item matching the supplied pattern. Use this when your data contains a repeating list, such as the products in an order or the lines on an invoice, and you want to read values from every item the same way instead of pointing at each one by hand. It walks over every matching child, applies the way of reading data you choose to each one, and collects the results into a single set of values.

Fields

Sample data

FieldValue
AccessorPattern accessor matching *
Patternproducts.*
Replacementproduct$1
Input:
{
    "products": [
        { "name": "Wool scarf", "sku": "A1" },
        { "name": "Leather belt", "sku": "B2" }
    ]
}
Output:
{
    "name": {
        "product0": "Wool scarf",
        "product1": "Leather belt"
    },
    "sku": {
        "product0": "A1",
        "product1": "B2"
    }
}