随笔分类 - JSON
摘要:String转对象,数组 1 String json = "{\"code\":\"200\",\"data\":{\"total\":4,\"list\":[{\"createBy\":\"admin\",\"createTime\":\"2019-09-16 10:18:47\",\"id\":
阅读全文
摘要:JSON.toJSONString中序列化map中的空字符串会出现空对象问题 Map<String,String> map = new HashMap<>(); map.put("aaa",null); map.put("bbb",null); map.put("ccc",null); map.pu
阅读全文