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);

文章来自:https://www.cnblogs.com/320321ABab/p/10697124.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3