JSONPath 测试器
使用 JSONPath 表达式查询 JSON 数据并即时查看匹配值。
使用方法
Run a query
Paste JSON, enter a JSONPath expression and view the matches as formatted JSON.
- Paste or type JSON.
- Enter a path such as $.store.book[*].title.
- Copy the result when it looks right.
Supported syntax
Dot and bracket child access, array indexes, slices, wildcards, recursive descent with .. and filter expressions such as [?(@.price<40)].
常见问题
Does it support filters?
Yes. Filters support comparisons with ==, !=, <, <=, > and >= against property values.
What if there is one match?
A single match is shown as a JSON value. Multiple matches are shown as a JSON array.