Transform
Applies one expression to every item of a list.
Fields
| Field | Type | Required | What it does |
|---|---|---|---|
items | jsonata | yes | Expression producing the list, for example outputs.read_csv.rows |
expression | jsonata | yes | Runs once per item, with the item itself as the context: name reads the item field, $index is its position, $items is the whole list. An item the expression says nothing about is left out. |
Output
items (the new list), total, from (how many came in)
Notes
Use DataMapper to reshape a single value, and this to reshape every item of a list. At most 10000 items.