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  梦回太古  阅读(10427)  评论(0编辑  收藏  举报

导航