Evaluate JSONPath expressions against JSON data instantly in your browser.
JSON Input
JSONPath Expression
JSONPath is a query language for JSON data, similar to XPath for XML. It allows you to select and extract specific parts of a JSON document using a concise path expression.
$ — Root of the document.key — Child property access[*] — All elements of an array[0], [1] — Array index access..key — Recursive descent (search all nested levels)* — Wildcard: all properties/elements[?(@.key == value)] — Filter expressions$.store.book[*].title — All book titles$..price — All price fields anywhere in the document$.store.book[?(@.inStock == true)] — Books that are in stock$.store.book[0] — The first book