Parse JSON
Parses JSON text or a JSON file into an object or array, available as data.
Properties
| Property | Required | Description |
|---|---|---|
| JSON Input | Yes | JSON text, or a file from another step (up to 50 MB). Usually an expression |
Output
| Field | Type | Description |
|---|---|---|
data | Any | The parsed value — object, array, string, number, boolean or null |
{{ $nodes['Parse JSON'].data.user.email }}
{{ $nodes['Parse JSON'].data[0].id }}
Behaviour
- Text and files (inline or stored) are both accepted. A byte-order mark is ignored.
- If the input is already structured data (an object or array), it is passed through as
data. - Empty input gives
data: null. - Invalid JSON fails the step with a parse error.
Example
A webhook sends a JSON document as an uploaded file:
- Add Parse JSON with JSON Input
{{ $trigger.files[0] }}. - Add a Loop with Items
{{ $nodes['Parse JSON'].data.orders }}. - In the body, read
{{ $nodes['Loop'].currentItem.total }}.
Notes
- The HTTP Request step already parses JSON responses (including
+jsontypes), so you don't need Parse JSON after it. - For XML use Parse XML; for CSV use Parse CSV.