2022年03月29日
2022年03月29日
在一个项目中,用到nodejs模块xml2js解析xml,xml的数据如下:
<xml>
<MsgId>6197906553041859764</MsgId>
</xml>
用xml2js中的xml2js.parseString 方法解析,本来以为是一个json,但总是解析失败,把解析的结果log下后
2022年03月29日
Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.