List转JsonObject
List list = new ArrayList(16);
JSONObject result = JSONObject.parseObject(JSONObject.toJSONString(list));
JSONObject data = new JSONObject();
data.put("allMenuList",result);
List转JsonObject
List list = new ArrayList(16);
JSONObject result = JSONObject.parseObject(JSONObject.toJSONString(list));
JSONObject data = new JSONObject();
data.put("allMenuList",result);
1173
1025
788

被折叠的 条评论
为什么被折叠?
