- 博客(2)
- 收藏
- 关注
原创 2021-09-13
将webservice + xml 转成json public class WsXMLUtil { private static final String HEAD = "Response"; private static final String BODY = "body"; public static String parseStr(String xml) throws DocumentException { Document doc
2021-09-13 15:31:53
58
原创 利用dom4j把xml转成Map
xml转成json /** * * @param xml 要转换的xml字符串 * @param charset 字符编码 * @return 转换成map后返回结果 * @throws UnsupportedEncodingException * @throws DocumentException */ public static Map<String, Object> xmlToMap(String xml, String charset) throws UnsupportedEncodi
2021-08-30 15:43:13
586
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人