jQuery plugin to convert XML to JSON.

npm install jquery-xml2json
12 downloads in the last week
33 downloads in the last month

jQuery xml2json Build Status Deps Status


A simple jQuery plugin that converts XML data, typically from $.ajax requests, to a valid JSON object.

Here's a simple usage example:

    url: 'data/test.xml',
    dataType: 'xml',
    success: function(response) {
        json = $.xml2json(response);
npm loves you