JSONSelect 介绍
JSONSelect 是一个 JSON 数据的选择器语言,可让你从复杂的 JSON 文档数据中访问指定的数据,其语法类似 CSS。
示例代码:
".author .drinkPref :first-child"
{
"author": {
"name": {
"first": "Lloyd",
"last": "Hilaiel"
},
"drinkPref": [
"whiskey",
"beer",
"wine"
],
},
"thing": "JSONSelect site",
"license": "(cc) BY-SA"
}
JSONSelect 官网
http://jsonselect.org/