Unable to retrieve particular JSON objects using jQuery

I try to retrieve a JSON object with jQuery from a server. Some properties of this object are arrays. When these arrays are not empty, I'm able to process my object. But when I retrieve a JSON like this one :


where "Meters" and "Scans" are empty, jQuery raises an error... I query my server with this code :

    $("#test").click(function () {

            type: "GET",
            url: "/Gateway/GetDetails/144",
            data: {},
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (data, textStatus, jqXHR) {


            error: function (jqXHR, textStatus, errorThrown) { 

In the error handler, I can see my JSON object in the responseText property of the parameter "jqXHR". Did you encounter this problem ?

Thanks in advance !


The JSON you've supplied is valid (as confirmed by the JSON Lint tool); is it possible that the Server you are querying is returning an HTTP Error Status Code, or that an internal error is happening on the server side. You can confirm this by using a debugging proxy like Firebug, Chrome Developer tools.

I answer my own question... First I tested only with Internet Explorer 9; with an other browser, all worked as expected. After I cleared the Internet Explorer cache, the problem disappeared.

Need Your Help

transition function PDA

compiler-construction computation-theory pushdown-automaton

my teacher uses weird formatting for PDA, can anybody explain this notation to me

IE 9 Form Submit Crash

javascript html forms login

I'm using an encryption technique on a user login form to avoid passing passwords in plain text. I store a unique challenge value in a PHP session, include that same value within an HTML form hidden