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

Method getjson

jd_pk.js:805–813  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

803 }
804
805 getjson(t, e) {
806 let s = e;
807 const i = this.getdata(t);
808 if (i) try {
809 s = JSON.parse(this.getdata(t))
810 } catch {
811 }
812 return s
813 }
814
815 setjson(t, e) {
816 try {

Callers

nothing calls this directly

Calls 1

getdataMethod · 0.45

Tested by

no test coverage detected