title: jQuery loop through json?
body: <p>I have some json (<code>var data</code>)that looks like this:</p>
  
  <pre><code>{"success":"true","keywords":["firstkeyword","secondkeyword"]}
  </code></pre>
  
  <p>And im trying to loop through the keywords using this code:</p>
  
  <pre><code>            data.keywords.each(function(e){
                  $('#campaign_keywords').append("&lt;p&gt;"+e+"&lt;/p&gt;");
              });
  </code></pre>
  
  <p>But i get the error </p>
  
  <pre><code>Uncaught TypeError: Object firstkeyword,secondkeyword has no method 'each' 
  </code></pre>