map转json字符串
Map<String,String> map = new HashMap<>(); map.put("111","222"); map.put("333","444"); String json = JSON.toJSONString(map); 输出结果是:{\"111\":\"222\",\"333\":\"444\"}
Map<String,String> map = new HashMap<>(); map.put("111","222"); map.put("333","444"); String json = JSON.toJSONString(map); 输出结果是:{\"111\":\"222\",\"333\":\"444\"}