摘要: 做的东西,一直是用easyui的,和后台的交互数据都是json格式的。今天想要单独弄一个json数据返回给前台,其实是比较简单的问题,json接触不多,记录一下。代码: public static JSONArray getGuanLiJson(Connection connection,String tablenameString,String field,String idString) throws Exception { JSONObject jsonObject=new JSONObject(); JSONArray jsonArray=new JS... 阅读全文
posted @ 2014-01-14 21:18 薛定谔的猫_ 阅读(5171) 评论(0) 推荐(0) 编辑