JSON Path Tester

Test and evaluate JSONPath expressions against your JSON data.

$
Drag & Drop supported

How to use JSON Path?

JSONPath is a query language for JSON, similar to XPath for XML. It allows you to select and extract specific parts of a JSON document using a simple, expressive syntax.

Common Syntax

  • $ - The root object or element
  • . or [] - Child operator
  • .. - Recursive descent
  • * - Wildcard

Examples

  • $.store.book[*].author - Authors of all books
  • $..author - All authors anywhere in the JSON
  • $.store..price - Prices of everything in the store