JSONObject mjsonobject=new JSONObject(t); JSONArray jsonarray=mjsonobject.getJSONArray("data"); for (int i=0;i<jsonarray.length();i++) { JSONObject json= (JSONObject) jsonarray.get(i); CountBean bean=new CountBean(); bean.setName(json.getString("name")); bean.setType01(json.getDouble("type01")); bean.setType02(json.getDouble("type02")); listdata.add(bean) ;
添加回答
举报
0/150
提交
取消