jQuery ajax example with multidimensional JSON Response from the serverside.Here Mudassar Ahmed Khan has provided an example to parse jQuery AJAX error responseText string received in the error handler to JSON object. I will share my Ajax solution by Jquery with JSON format in the next two parts.When the Ajax call succeeds, first we check the result: if(resultfalse)testSession( JSON.stringify(xhr.responseText)) jQuery: sorting JSON objects in AJAX. 20/07/2013 Gabriele Romanato jQuery Short link.The results returned by the PHP script were in JSON format. I wanted to order such results by taking one of the objects properties as a reference. jQuery ajax responseText undefined? The text and xml types return the data with no processing.Besides plain xml, the dataType can be html, json, jsonp, script, or text. The . ajax() function relies on the server to provide information about the retrieved data. Your JSON response has an Array at the top level. You need to do: Console.