title: I have a .json file which I can and have opened in python, but how can I extract certain pieces of information from it?
body: <p>I have a .json file which I have opened in python. However I wish to only extract the orderIds from the .json file instead of printing the whole thing. Here is my code so far:</p>
  
  <pre><code>import json
  from pprint import pprint
  import 
  with open('data-3.json') as data_file:    
      data = json.load(data_file)
  pprint(data)
  </code></pre>
  
  <p>and here is my .json file:</p>
  
  <pre><code>{'orders': [{'createdTime': '2016-02-29T23:26:32Z',
               'currentStatus': {'additionalProperties': {},
                                 'customInfo': None,
                                 'stateActionDescription': None,
                                 'stateCode': 'DESPATCH_END',
                                 'stateDescription': 'Despatch completed',
                                 'stateType': 'DISPATCH',
                                 'timestamp': '2016-03-02T12:47:26Z',
                                 'updateId': 378379,
                                 'user': 'Dave Ffitch'},
  </code></pre>