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

Method getjson

jd_goodMorning.js:202–209  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

200 }
201 }
202 getjson(t, e) {
203 let s = e;
204 const i = this.getdata(t);
205 if (i) try {
206 s = JSON.parse(this.getdata(t))
207 } catch {}
208 return s
209 }
210 setjson(t, e) {
211 try {
212 return this.setdata(JSON.stringify(t), e)

Callers

nothing calls this directly

Calls 1

getdataMethod · 0.45

Tested by

no test coverage detected