import json with open("genPrompts/Refer/标题参考格式.json", "r", encoding="utf-8") as f: data = json.load(f) print(data)