1. Open the file
with open("data.json", "r", encoding="utf-8") as f: # 2. Parse the JSON into a Python object (dict or list) data = json.load(f)
with open("data.json", "r", encoding="utf-8") as f: # 2. Parse the JSON into a Python object (dict or list) data = json.load(f)
本文档使用 WanXiangYunDang 构建