Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Semporia/Scripts
/ getjson
Method
getjson
jd_joy_new.js:1031–1039 ·
view source on GitHub ↗
(t, e)
Source
from the content-addressed store, hash-verified
1029
}
1030
1031
getjson(t, e) {
1032
let
s = e;
1033
const
i = this.getdata(t);
1034
if
(i) try {
1035
s = JSON.parse(this.getdata(t))
1036
} catch {
1037
}
1038
return
s
1039
}
1040
1041
setjson(t, e) {
1042
try {
Callers
nothing calls this directly
Calls
1
getdata
Method · 0.45
Tested by
no test coverage detected