For readability and debugging purposes we could make this anonymous function, a named function.  ".success(myNamedFunction)" and below have 
function myNamedFunction(json) { 
   you code ...
}