JSONArray集合转list集合对象

 

 

请求接口转list<对象>

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

posted on 2019-04-12 17:01  梦回太古  阅读(10508)  评论(0)    收藏  举报

导航