依赖的模块xml转jsonxml2json功能描述 依赖的模块 快速使用 json转xml { "to":"Tove", "from":"Jani", "heading":"Reminder", } }`;console.log(json2xml(jsonObj, " "));