Python читать файл json
import json
with open('path_to_file/person.json') as f:
data = json.load(f)
print(data)
MzanziLegend
import json
with open('path_to_file/person.json') as f:
data = json.load(f)
print(data)
import json
with open("sample_data.json", "r") as file:
data = json.load(read_file)
print(data)