XML转JSON在线工具
XML转JSON结果将会显示在这里.
xxxxxxxxxx
1
1
关于XML转JSON在线工具:
这个XML转JSON在线工具可以帮助您把XML格式的数据字符串转换成JSON格式的数据字符串.

更多关于XML转JSON的链接:
Github: https://github.com/martinblech/xmltodict
xmltodict: http://docs.python-guide.org/en/latest/scenarios/xml/
用Python XML转JSON (用 package xmltodict):
- import xmltodict
- def convert_xml_to_json(input_str):
- dict = xmltodict.parse(input_str, process_namespaces=True)
- return json.dumps(dict, indent=4)