jquery-xml2json

0.0.8 • Public • Published

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);
    }
});

Dependents (2)

Package Sidebar

Install

npm i jquery-xml2json

Weekly Downloads

2,209

Version

0.0.8

License

MIT

Last publish

Collaborators

  • sergeyt