title: How to access an array in a JSON object?
body: <p>I have the following JSON object:</p>
  <pre><code>[
      {
          &quot;comments&quot;: [
              {
                  &quot;created_at&quot;: &quot;2011-02-09T14:42:42-08:00&quot;,
                  &quot;thumb&quot;: &quot;xxxxxxx&quot;,
                  &quot;level&quot;: 1,
                  &quot;id&quot;: 214,
                  &quot;user_id&quot;: 41,
                  &quot;parent_id&quot;: 213,
                  &quot;content&quot;: &quot;&lt;p&gt;xxxxxx&lt;/p&gt;&quot;,
                  &quot;full_name&quot;: &quot;xx K&quot;
              },
              {
                  &quot;created_at&quot;: &quot;2011-02-09T14:41:23-08:00&quot;,
                  &quot;thumb&quot;: &quot;xxxxxxxxxxxxx&quot;,
                  &quot;level&quot;: 0,
                  &quot;id&quot;: 213,
                  &quot;user_id&quot;: 19,
                  &quot;parent_id&quot;: null,
                  &quot;content&quot;: &quot;&lt;p&gt;this is another test&lt;/p&gt;&quot;,
                  &quot;full_name&quot;: &quot;asd asd asd asd asd&quot;
              }
          ],
          &quot;eee1&quot;: &quot;asdadsdas&quot;,
          &quot;eee2&quot;: &quot;bbbbb&quot;
      }
  ]
  </code></pre>
  <p>This is coming from a <code>$.ajax</code> request, in success I have....</p>
  <pre class="lang-js prettyprint-override"><code>success: function (dataJS) {
      console.log(dataJS);
      console.log(dataJS[eee1]);
      console.log(dataJS.comments);
  }
  </code></pre>
  <p>Problem is I can't get access to the items in the JSON object, even though dataJS does show correctly in the console. Ideas?</p>