添加js引用:jsonsql-0.1.js
通过下面列子得到一个json类型的结果
Example:
jsonsql.query("select * from json.channel.items order by title desc",json);
jsonsql.query("select title,url from json.channel.items where (category=='javascript' || category=='vista') order by title,category asc limit 3",json);
jsonsql.query("select * from json where (CKey=='DropDownList_Data_End' && CValue=='2014')", obj.data);