title: How do I display a JSON object in a pretty format , on my webpage?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/130404/javascript-data-formatting-pretty-printer">JavaScript data formatting/pretty printer</a>  </p>
  </blockquote>
  
  
  
  <pre><code>var theobject_string = '{...}'; // I have a json object as a string.
  </code></pre>
  
  <p>How can I display this string in a pretty way, on my webpage (html)? </p>
  
  <p>I want this the elements to be indented.</p>