XmlMapper xmlMapper = new XmlMapper();
JsonNode jsonNode = xmlMapper.readTree(xmlStr);
//json字符串
jsonNode.toString();