MCPcopy
hub / github.com/ChinaGodMan/UserScripts / read_json

Function read_json

utils/helper.py:97–99  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

95
96# 加载json文件
97def read_json(file_path):
98 with open(file_path, 'r', encoding='utf-8') as file:
99 return json.load(file)
100
101
102# 提取语言代码

Callers 15

mainFunction · 0.90
go_workFunction · 0.90
mainFunction · 0.90
sync_updateMethod · 0.90
mainFunction · 0.90
mainFunction · 0.90
navigation.pyFile · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected