JSON Query help

JSON Query reads a value or set of values out of a JSON document using a compact path like store.books[0].title or store.books[*].price.

Steps

  1. Paste valid JSON.
  2. Enter a path. Use [*] to match every item in an array or object.
  3. Read the matches, or switch to flatten to see every leaf path.

Common questions

Is this full JSONPath?

No. It supports dot and bracket access, numeric and negative indexes, quoted keys, and a wildcard. Filters and script expressions are not included.

What does flatten produce?

One entry per leaf value, keyed by its full path like a.b.0.c. Unflatten turns that back into nested objects and arrays.

What if the path matches nothing?

You get an empty result rather than an error.

Does anything leave my browser?

No. The tool runs entirely on this page.

Everything runs in your browser. Nothing you enter or drop is uploaded.

Back to JSON Query