将Map转换为json字符串

String json = JSONUtils.toJSONString(map);

遍历json字符串

JSONObject jsonObject = JSONObject.parseObject(json);

jsonobject.get(key);