Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanGePlus/LightRAGTest
/ load_json
Function
load_json
LightRAG/lightrag/utils.py:125–129 ·
view source on GitHub ↗
(file_name)
Source
from the content-addressed store, hash-verified
123
124
125
def
load_json(file_name):
126
if
not os.path.exists(file_name):
127
return
None
128
with
open(file_name, encoding=
"utf-8"
)
as
f:
129
return
json.load(f)
130
131
132
def
write_json(json_obj, file_name):
Callers
1
__post_init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected