##xml2json Node.js Library Node.js based version of xml to json
Installation:
$ npm install -g simple-xml2json
Title:
var xml2json = require("simple-xml2json"); var xml = "<xml>hello</xml>"; var json = xml2json.parser( xml ); console.log( json.xml )
Detailed usage:
http://www.thomasfrank.se/xml_to_json.html
Test:
..\node_modules\node-xml2json\test\node test.js
- Support for CDATA
- Support of hyphens in the node names
Licensed under MIT