title: Getting all keys & their values from nested objects in JSON array (w/out jQuery)
body: <p>JSON newb asking: Given the following json data:</p>
  
  <pre><code>{
      "Users": [
          {
              "userName": "Herbie",
              "dates &amp; times": [
                  { "2014.08.01": "120.0" },
                  { "2014.08.02": "123.0" },
                  { "2014.08.03": "126.0" }
              ]
          },
          {
              "userName": "Wayne",
              "dates &amp; times": [
                  { "2014.08.01": "120.0" },
                  { "2014.08.02": "123.0" },
                  { "2014.08.03": "126.0" }
              ]
          },
          {
              "userName": "Freddie",
              "dates &amp; times": [
                  { "2014.08.01": "120.0" },
                  { "2014.08.02": "123.0" },
                  { "2014.08.03": "126.0" }
              ]
          },
          {
              "userName": "Ron",
              "dates &amp; times": [
                  { "2014.08.01": "120.0" },
                  { "2014.08.02": "123.0" },
                  { "2014.08.03": "126.0" }
              ]
          },
          {
              "userName": "Tony",
              "dates &amp; times": [
                  { "2014.08.01": "120.0" },
                  { "2014.08.02": "123.0" },
                  { "2014.08.03": "126.0" }
              ]
          }
      ]
  }
  </code></pre>
  
  <p>... and wanting to retrieve a specified user's dates &amp; times data so it can be rendered, e.g.:</p>
  
  <pre><code>Date 01: Time 01
  Date 02: Time 02
  Date 03: Time 03
  </code></pre>
  
  <p>I've read much about looping thru arrays and objects but I'm still confused as to how to get the dates &amp; times (or any keys/values) if the keys are unique. So far I have this:</p>
  
  <pre><code>var usersArray = myObj["Users"];
  for (var user in usersArray){
      if (!usersArray[user].userName == selUser) {
          alert("user not found");
      }
      else if (usersArray[user].userName == selUser) {
          var datesAndTimesArray = usersArray[user]["dates &amp; times"];
          console.log(selUser +"'s dates &amp; times: " + datesAndTimesArray); // returns array of objects
      }
  }
  
  for (var someKey in datesAndTimesArray){
      // here's where I'm struggling, trying to get all the dates &amp; times for the selected user, such that I can render it as described above
      // pseudo-code
  }   
  </code></pre>
  
  <p>Btw: studying javascript, not using jquery etc.</p>
  
  <p>Many thanks in advance,</p>
  
  <p>svs</p>