Developer utilities

JSONPath, tested in place.

Paste JSON, write an RFC 9535 query, and see every match with its normalized path. Nothing leaves your browser.

Advertisement

JSON and query

Try $.store.book[*].author, $..price, $..book[-1], $..book[:2] or $..book[[email protected]].

Matches

Run a query to see matches and their normalized paths.

Source and supported syntax

Queries follow RFC 9535, JSONPath: Query Expressions for JSON. Supported: root $, child names (.a, ['a']), array indexes including negatives, wildcards, slices [start:end:step], unions [0,2], recursive descent .., and filters such as [email protected]<10 with &&, ||, !, existence tests, and the length(), count() and value() functions. Each match is reported with its Normalized Path (RFC 9535 section 2.7).

Not supported

Everything runs locally with JSON.parse. Other JSONPath libraries that predate RFC 9535 can differ (for example on filters and recursive descent), so check your target library before relying on a result.

Advertisement
Advertisement
Listening…