title: python JSON only get keys in first level
body: <p>I have a very long and complicated json object but I only want to get the items/keys in the first level!</p>
  
  <p>Example:</p>
  
  <pre><code>{
      "1": "a", 
      "3": "b", 
      "8": {
          "12": "c", 
          "25": "d"
      }
  }
  </code></pre>
  
  <p>I want to get <strong>1,3,8</strong> as result!</p>
  
  <p>I found this code:</p>
  
  <pre><code>for key, value in data.iteritems():
      print key, value
  </code></pre>
  
  <p>But it prints all keys (also <strong>12 and 25</strong>)</p>