title: How do I write json results to a div using jquery?
body: <p>This is probably a really easy question, but I can't find anything that works.</p>
  
  <p>I'm trying to take a json result and just write it into the inner html of a div to see what it looks like.</p>
  
  <p>I have something like this:</p>
  
  <pre><code>$.getJSON("someurlthatgivesmejson",
      function(data){         
          $("#jsonmodel").html(data);  // what should this be??
      });
    });
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I was able to get it to display some text by using</p>
  
  <pre><code>$("#jsonmodel").html($.param(data));
  </code></pre>
  
  <p>However, it's not formatted like how the browser displays a json result, like the structure of the javascript object.</p>