Skip to content

mayankdedhia/simple-xml2json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##xml2json Node.js Library Node.js based version of xml to json

How to use:

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

Major changes:

  • Support for CDATA
  • Support of hyphens in the node names

Contact:

Licensing:

Licensed under MIT

About

XML2JSON for Node.js with CDATA support and hyphen's in XML

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%