JSONSelect

openkk 12年前
     JSONSelect 是一个 JSON 数据的选择器语言,可让你从复杂的 JSON 文档数据中访问指定的数据,其语法类似 CSS。    <p>示例代码:</p>    <div class="sample json">     <tt>".author .drinkPref :first-child"</tt>     <pre>{   "author": {     "name": {       "first": "Lloyd",       "last": "Hilaiel"     },     "drinkPref": [       <span class="selected">"whiskey"</span>,       "beer",       "wine"     ],   },   "thing": "JSONSelect site",   "license": "(cc) BY-SA" }</pre>    </div>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324131001156" target="_blank">http://www.open-open.com/lib/view/home/1324131001156</a></p>