JSONPath Query

Query JSON with JSONPath

Extract matching values from large JSON documents with familiar path expressions.

JSON workspace
0 lines · 0 characters
More

JSONPath in a minute

JSONPath addresses values inside a JSON document. The root is $, dot notation selects a property, brackets select an array index, and * matches every child.

For example, $.items[*].name returns the name property from every object in the items array. Results are returned as a JSON array.

Useful tips

  • Start every query at the $ root.
  • Use [0] for the first array item.
  • Use recursive descent sparingly on very large files.