jsonex.py
BASH
2021.03.06 17:55
import json
 
with open('students.json') as file:
    student_data = json.load(file)
 
for student in student_data["Students"]:
    print(f'Name: {student["name"]}, Email: {student["email"]}')