JSONArray集合转list集合对象

时间:2019-04-12 17:12:21   收藏:0   阅读:10569

 

 

请求接口转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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!