Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
def
read_json_file(filename):
22
with
open(filename,
"r"
, encoding=
"utf-8"
)
as
f:
23
return
json.load(f)
24
25
26
def
save_to_json_file(data, filename, encoding=
"utf-8"
):
Callers
4
load_data_from_local
Method · 0.90
load_data_from_local
Method · 0.90
_load_from_file
Method · 0.90
load_data_from_local
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected