xml 转为 json
xml 字符串:
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <Region xmlns=""> <City diffgr:id="City1" msdata:rowOrder="0"> <CityID>832</CityID> <CityName>安国</CityName><CityName>深州</CityName></City> <City diffgr:id="City2" msdata:rowOrder="1"> <CityID>837</CityID> <CityName>安平</CityName></City></Region></diffgr:diffgram>