title: Python get JSON object by index
body: <p>I have a JSON file that looks something like this:</p>
  
  <pre><code>{ data:
        { 123:
  
        { 212:
  
        { 343: 
  </code></pre>
  
  <p>In python I load the JSON using json.loads(r.text). The strings inside the data object are not guaranteed to be those but can be any number. What I want to be able to do is to be able to get those numbers so I can store then in an array. In this example I want the array to look like [123,212,343]. Is there anyway to do this since they are nested objects and not a JSON array?</p>
  
  <p>Thanks</p>