MCPcopy Create free account
hub / github.com/codefuse-ai/codefuse-devops-eval / read_json_file

Function read_json_file

src/utils/json_utils.py:21–23  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

19
20
21def read_json_file(filename):
22 with open(filename, "r", encoding="utf-8") as f:
23 return json.load(f)
24
25
26def save_to_json_file(data, filename, encoding="utf-8"):

Callers 4

load_data_from_localMethod · 0.90
load_data_from_localMethod · 0.90
_load_from_fileMethod · 0.90
load_data_from_localMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected