D
DevTools
← 返回首页
🔍 JSON Path 查询
使用 JSONPath 语法从 JSON 中提取数据
JSONPath 表达式
查询
常用表达式
$ 根节点
$.store.book 数组
$[0] 第一个元素
$[*].title 所有title
$[-1:] 最后一个
$[?(@.price<10)] 过滤
.length() 长度
JSON 数据
0 字符
{ "store": { "book": [ { "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95 }, { "category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99 }, { "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99 }, { "category": "fiction", "author": "J. R. R. Tolkien", "title": "The Lord of the Rings", "isbn": "0-395-19395-8", "price": 22.99 } ], "bicycle": { "color": "red", "price": 19.95 } }, "expensive": 10 }
格式化
清空
查询结果
0 结果
复制结果
下载