Skip to main content

JSON: Find By Key

Find the first object in a JSON array whose Key field equals the value flowing in on the filter input, then emit the matched object on value. Useful for "lookup row by id" patterns — the JSON-array equivalent of a primary-key lookup.

Example
Key: "id"
Array: [{"id": 1, ...}, {"id": 2, "name": "bob"}, {"id": 3, ...}]
Filter: 2
Output: {"id": 2, "name": "bob"}

Parameters

KeyREQUIRED

Field name on each array element to compare against the filter value.

Skip if not found

When enabled, missing matches soft-skip the step (no output, no failure). When disabled (default), a no-match fails the step.

Input

ArrayREQUIRED
JSON array of objects to search.
FilterREQUIRED

The Number or String value to compare against each element's Key field.

Output

Value
The first matching object.