List<Entity> list = (List<Entity>) result.get("list");for(Object obj : list){//net.sf.json.JSONObjectJSONObject json = JSONObject.fromObject(obj);Entity entity = (Entity) JSONObject.toBean(json, Entity.class);}
时间:2023-04-11 06:39:50
List<Entity> list = (List<Entity>) result.get("list");for(Object obj : list){//net.sf.json.JSONObjectJSONObject json = JSONObject.fromObject(obj);Entity entity = (Entity) JSONObject.toBean(json, Entity.class);}