extract object of responseJSON

I solved a synchronous problem with ajax that way to use deferred function. I get as an response now big object with statusResponse etc etc inside.

My JSONP Objects are also successfully stored in responseJSON Object. How Can I extract it or save it in another variable ?


var web = new webService();

and here the class

function webService() {

this.init = function(app) {

    var d = this.connect(app).done(function(){});



this.connect = function(app) {

    return $.ajax({
        url: 'working url',
        dataType: 'jsonp',
        jsonp: 'jsoncallback',
        timeout: 5000


Credit :stackoverflow.com
Visit Author