title: How do I pretty print a hash to a Rails view?
body: <p>I have something like:</p>
  
  <pre><code>{"a":"1","b":"2","c":"3","asefw":"dfsef"}
  </code></pre>
  
  <p>I want to print it out in a view. What's the best way to do that?</p>
  
  <p>I tried parsing it as a JSON object and using <code>JSON.stringify</code>, but it seems to mess up indentation.</p>
  
  <p>Any advice? I don't mind a JavaScript solution.</p>