My server side code returns a value which is a json object on success and a string \'false\' on failure. Now how can I check whether the returned value is a json object?
i tried all of the suggested answers, nothing worked for me, so i had to use
jQuery.isEmptyObject()
hoe that helps someone else out with this issue