title: Print plain JSON content to html page in Javascript / jQuery
body: <p>After getting an HTTP response in the form a JSON file, how can I handle its plain content using jQuery?</p>
  
  <p>I've done this before, but I just can't figure out how right now.</p>
  
  <p>I'm using this function to retrieve the JSON content.</p>
  
  <pre><code>var json = $.getJSON("test.json",  
     function(response){
             // do stuff
         }
  );
  </code></pre>
  
  <p>Of course, I can handle the data contained in the JSON, but I'd like to handle and print its plain content, like this:</p>
  
  <pre><code>{"name": "Pepe","age" : "20"}
  </code></pre>
  
  <p>The following </p>
  
  <pre><code>alert(response);
  </code></pre>
  
  <p>Just gives me [object Object]</p>
  
  <p>And this</p>
  
  <pre><code>alert(jQuery.parseJSON(json));
  </code></pre>
  
  <p>Just gives me null</p>
  
  <p>I can't seem to find the answer anywhere. I'm pretty new to all this, so I must be using the wrong search terms, because it looks like a trivial matter.</p>