JSONArray集合转list集合对象
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
请求接口转list<对象>
JSONObject obj = PostInterface.post(PostInterface.ServletName.activitiModel,"queryPlaceHolderList",new HashMap()).getJSONObject("SvcCont");
List<Placeholder> dataArr = JSON.parseArray(obj.getString("placeHolderList"),Placeholder.class);

更多精彩