파이썬 읽기 json 파일
import json
with open('path_to_file/person.json') as f:
data = json.load(f)
print(data)
json 파일 python 열기
import json
with open('data.txt') as json_file:
data = json.load(json_file)
읽기 파일 json
with open('file.txt', 'r') as f:
data = f.read()