Glossary Development

JSONPath

JSONPath is a query language for picking values out of a JSON document, the way XPath does for XML.

Last reviewed:

AdSense Placeholder
Slot: header_reference_page

In more detail

$ is the root, .key steps into a field, [*] takes every element, [?(@.price < 10)] filters and .. searches at any depth. $.store.book[*].title returns every book title. It is standardised as RFC 9535. See How JSON Works.

Try these tools

See also

  • Glossary JSON
    JSON (JavaScript Object Notation) is a lightweight text format for structured data, built from objects, arrays, strings, numbers, true.
  • Guide How JSON Works
    The six JSON value types, why parsing fails, traps with big integers and key order, JSONPath queries and converting JSON to TypeScript.
AdSense Placeholder
Slot: footer_leaderboard