npm.io
0.0.8 • Published 11 years ago

jquery-xml2json

Licence
MIT
Version
0.0.8
Deps
0
Vulns
0
Weekly
0
Stars
7

Build Status Dependency Status devDependency Status

#jQuery xml2json

NPM

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

Here's a simple usage example:

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

Keywords