for loop through json python code example
Example 1: python iterate json file
import json
with open('items.json') as data_file:
data = json.load(data_file)
Example 2: loop through json array python
for restaurant in data['restaurants']:
print restaurant['restaurant']['name']