Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dedsec1121fk/DedSec
/ _safe_read_json
Function
_safe_read_json
Scripts/Developer Base/Smart Notes.py:76–81 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
74
# --- I/O helpers ---
75
76
def
_safe_read_json(path):
77
try
:
78
with
open(path,
'r'
)
as
f:
79
return
json.load(f)
80
except
Exception:
81
return
{}
82
83
84
def
load_notes():
Callers
2
load_notes
Function · 0.70
load_config
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected