查询json数据结构的8种方式
摘要:
你有没有对“在复杂的JSON数据结构中查找匹配内容”而烦恼。这里有8种不同的方式可以做到:JsonSQLJsonSQL实现了使用SQL select语句在json数据结构中查询的功能。例子:jsonsql.query("select * from json.channel.items order by title desc",json);主页:http://www.trentrichardson.com/jsonsql/JSONPathJSONPath就像是针对JSON数据结构的XPath。例子:jsonPath( books, '$..book[(@.length 阅读全文
posted @ 2012-12-15 10:12 司徒正美 阅读(3531) 评论(0) 推荐(2)
浙公网安备 33010602011771号