xml字符串转JSONObject 对象
public static JSONObject xmltoJson(String xmlString){ JSONObject obj=new JSONObject(); XMLSerializer xmlSerializer=new XMLSerializer(); String resulStr=xmlSerializer.read(xmlString).toString(); object =JSONObject.parseObject(resulStr); return object; }