12 2024 档案

摘要:1、String 转 JSONObject String str = "{姓名":"张三","性别":"男","年龄":"25"}" JSONObject res = JSONObject.parseObject(str); 2、对象转json String Gson gson = new Gson 阅读全文
posted @ 2024-12-17 16:50 当个胖子 阅读(11) 评论(0) 推荐(0) 编辑