What's the difference in using toString() compared to JSON.stringify()?
<p>In both the cases I get in output the content of the object:</p>

<pre><code>alert(JSON.stringify(obj));
</code></pre>

<p>or</p>

<pre><code>alert(obj.toString());
</code></pre>

<p>so... what's the difference? what are the advantages or disadvantages of each one?</p>

<p>Are there practical examples to show the difference?</p>
