Skip to content

Instantly share code, notes, and snippets.

@AntonioMarsella
Created March 17, 2020 07:10
Show Gist options
  • Save AntonioMarsella/23703a5e021d8bdaa2477dd550d2edad to your computer and use it in GitHub Desktop.
Save AntonioMarsella/23703a5e021d8bdaa2477dd550d2edad to your computer and use it in GitHub Desktop.
Read Json files
import json
with open('filename.json', 'r') as f:
json_dict = json.load(f)
for key in json_dict:
print(key['attribute'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment