static/ext/src/data/reader/Json.js
function(response) {
        var data, error;
 
        try {
            data = Ext.decode(response.responseText);
            return this.readRecords(data);
        } catch (ex) {
            error = new Ext.data.ResultSet({
                total  : 0,
                count  : 0,
                records: [],
                success: false,
                message: ex.message
            });

            this.fireEvent('exception', this, response, error);

            Ext.Logger.warn('Unable to parse the JSON returned by the server');

            return error;
        }
    }
function(response) {
        var data, error;
 
        try {
            data = Ext.decode(response.responseText);
            return this.readRecords(data);
        } catch (ex) {
            error = new Ext.data.ResultSet({
                total  : 0,
                count  : 0,
                records: [],
                success: false,
                message: ex.message
            });

            this.fireEvent('exception', this, response, error);

            Ext.Logger.warn('Unable to parse the JSON returned by the server');

            return error;
        }
    }
function ( response ) { var data , error ; try { data = Ext . decode ( response . responseText ) ; return this . readRecords ( data ) ; } catch ( ex ) { error = new Ext . data . ResultSet ( { total : 0 , count : 0 , records : [ ] , success : false , message : ex . message } ) ; this . fireEvent ( 'exception' , this , response , error ) ; Ext . Logger . warn ( 'Unable to parse the JSON returned by the server' ) ; return error ; } }
inherit docs
inherit docs