python读取json文件 import json path=r'path' with open(path,"r",encoding='utf-8') as f: json_data = json.load(fp) print("数据类型",type(json_data)) print('json数据:',json_data)