select fields from json python code example
Example 1: how to get specific data from json using python
with open('distros.json', 'r') as f:
distros_dict = json.load(f)
for distro in distros_dict:
print(distro['Name'])
Example 2: python get value from json
for key, value in data.items():
print key, value