JSONPath 測試器
免費線上 JSONPath 測試工具,免安裝。支援遞迴、過濾、切片等語法
What is JSONPath?
JSONPath is a query language for extracting data from JSON documents. Similar to XPath for XML, JSONPath allows you to navigate and filter elements in JSON structures using expressions. This tool supports standard JSONPath syntax including recursive descent, array slicing, filter expressions, and more.
Supported Syntax
$ - Root node . - Child operator .. - Recursive descent (search all levels) * - Wildcard (match all elements) [0] - Array index [0:2] - Array slice (from start to end, excluding end) [?(@.expr)] - Filter expression (filter elements matching condition) @ - Current node (used in filter expressions)
How to Use JSONPath Tester
Paste or enter JSON data in the left input box. Enter a JSONPath expression in the right box. Click the "Test" button to see matching results. Use the "Examples" button to quickly load common JSONPath expressions.
▶What is the difference between JSONPath and JavaScript?
▶How do I use recursive descent (..)?
▶What comparison operators are supported?
如果這個工具幫到了你,可以請作者喝杯咖啡。
請我喝杯咖啡