import json import xmltodict # 定义xml转json的函数def xmltojson(xmlstr): xmlparse = xmltodict.parse(xmlstr) jsonstr = json.dumps(xmlparse, ...
確定! 回上一頁