MCPcopy Create free account
hub / github.com/Semporia/Scripts / setjson

Method setjson

jd_api_test.js:187–193  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

185 }
186
187 setjson(t, e) {
188 try {
189 return this.setdata(JSON.stringify(t), e)
190 } catch {
191 return !1
192 }
193 }
194
195 getScript(t) {
196 return new Promise(e => {

Callers

nothing calls this directly

Calls 1

setdataMethod · 0.45

Tested by

no test coverage detected