title: How to parse json with ijson and python
body: <p>I have JSON data as an array of dictionaries which comes as the request payload.</p>
  
  <pre><code>[ 
      { "Field1": 1, "Feld2": "5" },
      { "Field1": 3, "Feld2": "6" }
  ]
  </code></pre>
  
  <p>I tried <code>ijson.items(f, '')</code> which yields the entire JSON object as one single item. Is there a way I can iterate the items inside the array one by one using ijson?</p>
  
  <p>Here is the sample code I tried which is yielding the JSON as one single object.</p>
  
  <pre><code>f = open("metadatam1.json")
  objs = ijson.items(f, '')
  for o in objs:
       print str(o) + "\n"
  
  [{'Feld2': u'5', 'Field1': 1}, {'Feld2': u'6', 'Field1': 3}]
  </code></pre>