Check what holds in [object Object] in jQuery
<p>I am using a jQuery plugin which returns the object, for example using the below code.</p>

<pre><code>onSuccess: function(data, status){
    alert(data);
}
</code></pre>

<p><strong>returns [object Object]</strong> </p>

<p>as it is returning the object i would like to know how do i check all the contents that holds inside that object using js <code>alert();</code></p>

<p>also i would like to know if JS object and JSON are one and the same.</p>

<p>thank you</p>
