Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Semporia/Scripts
/ toStr
Method
toStr
jd_redPacket.js:1622–1628 ·
view source on GitHub ↗
(t, e = null)
Source
from the content-addressed store, hash-verified
1620
}
1621
1622
toStr(t, e = null) {
1623
try {
1624
return
JSON.stringify(t)
1625
} catch {
1626
return
e
1627
}
1628
}
1629
1630
getjson(t, e) {
1631
let
s = e;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected