Skip to content

Query JSON with Jsonata

Select products from orders whose prices exceed a threshold.

Install in Serialize

What it can do

  • Navigate JSON fields
  • Filter array members
  • Project selected values

How the recipe works

Jsonata Query

Evaluate the Jsonata expression against the parsed input document.

Demonstration

Sample input

{"orders":[{"product":"alpha","price":9},{"product":"beta","price":19},{"product":"gamma","price":25}]}

Expected result

beta

When to use it

  • API-response analysis
  • Extracting report fields
  • Prototyping data transformations

Adapt it

Change the predicate and projection while keeping the sample structure visible for debugging.

Source and verification

Adapted from mattnotmax CyberChef recipes. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close