# -*-coding:utf-8 -*- # # --------------------------------------------------------------------------- # ProjectName: test_56 # FileName: read_json.py # Author: xxxxxxx # Datetime: 2023/8/7 15:25 # Description: # # --------------------------------------------------------------------------- import json def read_json(filename): with open(filename, mode="r", encoding="utf-8") as fp: return json.load(fp)