Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 688 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 688 Bytes

jQuery.xml2json

The XML to JSON Plugin (jQuery.xml2json) is a script you can use to convert simple XML into a JSON object by fyneworks. This is used by jQuery Soap (optional).

Install

Via bower: bower install jquery.xml2json --save

Example

$.soap({
    url: 'http://my.server.com/soapservices/',
    method: 'helloWorld',

    data: {
        name: 'Remy Blom',
        msg: 'Hi!'
    },

    success: function (soapResponse) {
        soapResponse.toJSON();
    },
    error: function (SOAPResponse) {
        SOAPResponse.toJSON();
    }
});