title: How do I parse json-object using python?
body: <p>I am trying to parse a json object and having problems.</p>
  
  <pre><code>import json
  
  record= '{"shirt":{"red":{"quanitity":100},"blue":{"quantity":10}},"pants":{"black":{"quantity":50}}}'
  inventory = json.loads(record)
  #HELP NEEDED HERE
  for item in inventory:
      print item
  </code></pre>
  
  <p>I can figure out how to obtain the values. I can get keys. Please help.</p>