title: How to extract keys from key/value JSON object?
body: <p>I'm being given some JSON I need to cycle through to output the elements. The problem is this section of it is structured differently. Normally I would just loop through the elements like this: </p>
  
  <pre><code>var json = $.parseJSON(data);
  json[16].events.burstevents[i]
  </code></pre>
  
  <p>But I can't do that with the JSON below because they're key value pairs. How do I extract just the unix timestamp from the JSON below? (i.e. 1369353600000.0, 1371600000000.0, etc.)</p>
  
  <pre><code>{"16": {
      "events": {
        "burstevents": {
            "1369353600000.0": "maj", "1371600000000.0": "maj", "1373414400000.0": "maj", "1373500800000.0": "maj", "1373673600000.0": "maj"
          }, 
        "sentevents": {
            "1370736000000.0": "pos", "1370822400000.0": "pos", "1370908800000.0": "pos"
          }
       }
    }
  }
  </code></pre>