2.JAVA中json转Map,jsonArray转List集合,List集合转json
使用Jackson的ObjectMapper来处理带有反斜杠的JSON数据:ObjectMapper mapper = new ObjectMapper()
mapper.configure(Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true)
Map<String, Object>map = mapper.readValue(jsonString, Map.class)