title: How to know if return data is Json or String in jQuery and PHP?
body: <p>I want to check in client side(jQuery) whether return data from a PHP function is Json object or String to assign different function.</p>