3

Possible Duplicate:
XML <-> JSON conversion in Javascript

I tried using:

http://plugins.jquery.com/project/xmlObjectifier

But it does not output JSON for me. It is still in XML. See usage:

var json = $.xmlToJSON(data);
console.log(json);

Are there any good XML to JSON libraries I can use?

Community
  • 1
  • 1
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
  • 1
    possible duplicate of [XML <-> JSON conversion in Javascript](http://stackoverflow.com/questions/1773550/xml-json-conversion-in-javascript) For additional SO results, [click here](http://stackoverflow.com/search?q=javascript+convert+xml+to+json). – user113716 Jan 04 '11 at 18:03
  • title should be renamed so it is easier to search on stack overflow. – Sheehan Alam Jan 09 '11 at 03:48
  • There is [comparison](https://naturalintelligence.github.io/comparejs/?q=xml2json) of some xml 2 json libraries on the basis of performance. – Amit Kumar Gupta Jul 11 '17 at 10:23

0 Answers0