How can I validate & beautify JSON through a jquery/javascript plugin
<p>I have a requirement where in I get JSON data from backend and I have to show that in textarea.currently, the data comes but its not formatted and validated.Now</p>

<p>1)How can I beautify JSON in the textarea ?
2)How can I validate it before saving ?</p>

<p>I have searched for all javascript/jquery plugins but I am not getting what I want.I want something like jslint</p>

<p>Thanks in advance</p>