Querying Knowledge Base

Querying Data with JSONPath

JSONPath syntax reference: the root $ operator, wildcard selectors, array slicing, and filter expressions — with query examples and a free online tester.

JSONPath Query Syntax

JSONPath enables XPath-like queries on JSON structures to extract specific fields or filter arrays.

json
// JSONPath Query Examples
$.store.book[*].author  // Extract all book authors
$.store.book[?(@.price < 10)] // Filter books under $10

Try the free JSONPath Tester

Runs entirely in your browser — no upload, no signup, and your data never leaves your device.

Open JSONPath Tester

Frequently Asked Questions

What is the root symbol in JSONPath?

The dollar sign ($) represents the root object or array.

Related JSON Topics & Reference Articles