title: traversing jQuery JSON Object array
body: <p>I am try access an Object array using getJson, I've tried many things but I keep getting an 'undefined' or [Object, object] returned.</p>
  
  <pre><code>$.getJSON( "js/test.json", function( data ) {
      var items = new Array();
      $.each( data, function( key, val ) {
          items.push( "&lt;li id='" + key + "'&gt;" + val.entries.title + "&lt;/li&gt;" );
      });
  
      $( "&lt;ul/&gt;", {
          "class": "my-new-list",
          html: items.join( "" )
      }).appendTo( "body" );
  });
  </code></pre>
  
  <p>Here is the JSON, I am trying to get the 'title' of each 'entries'.</p>
  
  <pre><code>{
  "$xmlns": {
      "pl1": "url"
  },
  "startIndex": 1,
  "author": "MJS",
  "entries": [
      {
          "title": "This is target",
          "m$ct": [
              {
                  "m$name": "name"
              }
          ],
          "m$rt": "pd",
          "m$content": [
              {
                  "plfile$width": 640
              },
              {
                  "plfile$width": 960
              }
          ],
          "plm$c": [],
          "link": ""
      },
      {
          "title": "title2",
          "m$ct": [
              {
                  "m$name": "name"
              }
          ],
          "m$rt": "pd",
          "m$content": [
              {
                  "plfile$width": 640
              },
              {
                  "plfile$width": 960
              }
          ],
          "plm$c": [],
          "link": ""
      }
  ]
  }
  </code></pre>