Data: Query JSON data

Query a JSON object using JSONPath expression.

Help Centre › Functions & Formulas

Query a JSON object using JSONPath expression.

Add it to a process

In the process designer, open the Add step tab. Find Query JSON data under Data › JSON, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
JSON dataYesThe data variable or JSON string to process
Dot-notation pathNoThe JSON path expression. Leave it empty to turn JSON text into an object or list you can use in later steps.
VariableYesVariable name to store the result Default: result.

What it gives back

  • {result} – Query result

See all Data steps.

Errors

ErrorDescription
Invalid JSONThe data is not valid JSON
Path not foundThe specified path does not exist in the data

Tips

  • Use numeric indices for arrays (e.g. users.0.name to get the first user's name)
  • Paths are case-sensitive

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.