JSONArray集合转list集合对象

 

 

请求接口转list<对象>

JSONObject obj = PostInterface.post(PostInterface.ServletName.activitiModel,"queryPlaceHolderList",new HashMap()).getJSONObject("SvcCont");
List dataArr = JSON.parseArray(obj.getString("placeHolderList"),Placeholder.class);

转载于:https://www.cnblogs.com/320321ABab/p/10697124.html

你可能感兴趣的:(JSONArray集合转list集合对象)