日期:2014-05-16 浏览次数:20370 次
/*JSONArray ja=JSONArray.fromObject(jsons); System.out.println(ja.size()); ja.getJSONObject(0);*/ JSONObject joo=new JSONObject(); joo=JSONObject.fromObject(jsons); DonateIntention bean = (DonateIntention)JSONObject.toBean(joo,DonateIntention.class ); System.out.println(bean.getName());