"If json is specified, the response is parsed using jQuery.parseJSON and then passed as an object to the success handler. The processed JSON object is made available through the responseJSON property of the jqXHR object. "
http://api.jquery.com/jquery.ajax/
If you specify your callback using statusCode as indicated in the question:
"If the request is successful, the status code functions take the same parameters as the success callback; if this leads to an error (including 3xx redirection), they accept the same parameters as the error callback. " (JqXHR, textStatus, errorThrown )
David winiecki
source share