Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import json
- with open('filename.json', 'r') as f:
- data = json.load(f)
- # assuming entry was a json array
- for entry in data:
- # use format "entry['myfield']" to access named fields
- print(entry)
Add Comment
Please, Sign In to add comment