Sting MessageList="";JSONArray json = JSONArray.fromObject(MessageList);JSONObject object = null;List<Object> messageList = new ArrayList<>();Message t=null;for (int i = 0; i < json.size(); i++) { object = JSONObject.fromObject(json.get(i)); messageList.add(object);}
原文地址:https://www.cnblogs.com/cuiguangpeng/p/10043064.html
时间: 2024-12-14 00:53:29