哪吒机器人提醒:

提醒:AnySQL.net
【标题】WebChart的JSON格式输出
【摘要】 webchart增加json格式输出,可以将查询结果以json格式的文本进行输出,直接作为extjs的ext.data.store的输入. 页面(jsontest.rhtml)定义如下: webchart.doctype=jsonwebchart.query_1=select empno, ename from emp order by empno 用浏览器访问页面时,返回json格式的纯文本. { “metadata”: { “root”: “rows”, “fields”: [ {"name": "empno", "type": "int"}, {"name": "ename"}], “remotesort”: true }, “rows”: [ { "empno": 1, "ename": "lou fangxin" }, { "empno": 2, "ename":... (12-10 02:23)