Skip to main content

Structured Data

Jsonata Query Data Processor

Transform structured data with Jsonata Query and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Transform structured data with Jsonata Query and review the valid output. Enter the data, choose the formatting options, then validate and copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Jsonata Query Data Processor evaluates a JSONata expression against JSON data.

7 Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Provide valid JSON data and a JSONata expression.
  3. Test path and function behavior with a small fixture.
  4. Validate the output type before using it downstream.

Example

Input: {"items":[{"price":3},{"price":4}]}

Settings: Jsonata Query Data Processor: Use the expression '$sum(items.price)'.

Result: 7

Limits

  • Jsonata Query Data Processor: Expression behavior depends on JSONata syntax and runtime support.
  • Jsonata Query Data Processor: A query can return null or an empty result for a missing path.
  • Jsonata Query Data Processor: Processing stays in the browser.