Guides

JSONPath basics: five expressions that cover most queries

Roots, wildcards, recursion, filters, and slices—plus common errors and fixes.

Related tools

Tip: open the tool page to see Pro batch/advanced modes.

A small syntax kit

`$` is the root; `$.users` selects a field; `$.*` matches immediate children.

`$..name` recursively finds `name` fields (mind performance on huge docs).

`$.items[?(@.price < 10)]` filters arrays; `$.items[0:3]` slices the first three items.

Common failures

Invalid JSON: format/repair first, then query.

Empty results often mean case mismatches, a null intermediate node, or wrong array/object assumptions.

Habits

Narrow with `$.data`/`$.result` before deep recursion on large responses.

If you need multiple paths, run several queries and compare outputs (Pro batch paths where available).