Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Semporia/Scripts
/ setjson
Method
setjson
jd_try.js:605–611 ·
view source on GitHub ↗
(val, key)
Source
from the content-addressed store, hash-verified
603
}
604
605
setjson(val, key) {
606
try {
607
return
this.setdata(JSON.stringify(val), key)
608
} catch {
609
return
false
610
}
611
}
612
613
getScript(url) {
614
return
new
Promise((resolve) => {
Callers
nothing calls this directly
Calls
1
setdata
Method · 0.45
Tested by
no test coverage detected