- What is a JSON Path?
- A JSON Path is a query expression used to extract specific values from a JSON document. Similar to XPath for XML, JSON Path lets you navigate nested objects and arrays using dot notation (store.name), bracket notation (store.books[0]), and wildcards.
- What syntax does this tester support?
- JSONPath as standardized in RFC 9535: dot and bracket notation ($.store["books"][0]), negative indices ([-1]), wildcards ([*] and .*), recursive descent ($..price), unions ([0,2]), slices ([1:3], [::-1]), filters ([?(@.price < 10 && @.inStock)]), and the functions length(), count(), match(), search() and value(). Regex comparisons with =~ /pattern/i are accepted too.
- What is the difference between dot and bracket notation?
- Dot notation (obj.key) works for simple alphanumeric keys. Bracket notation (obj["key-with-dashes"]) is needed for keys containing special characters, spaces, or hyphens. Both notations are equivalent for plain keys.
- Can I use wildcards and filters?
- Yes. $.store.books[*].title returns every title, $..price returns every price at any depth, and $.store.books[?(@.price > 30)] keeps only the books above 30. The same engine powers the Query panel of the main editor, where you can also open the results as a new document.
- Is my JSON data safe?
- All path evaluation runs locally in your browser using JavaScript. Your data never leaves your device, is never uploaded, and disappears when you close the tab.
- What does "0 matches" mean?
- The expression is valid but selects nothing: a key is missing or misspelled, an index is out of bounds, or a filter excludes every item. Each match is listed with its normalized path, which helps to see where an expression stops matching.