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

Function jsonParse

tools/jd_cfd_SlotMachine.js:188–198  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

186}
187
188function jsonParse(str) {
189 if (typeof str == "string") {
190 try {
191 return JSON.parse(str);
192 } catch (e) {
193 console.log(e);
194 $.msg($.name, '', '请勿随意在BoxJs输入框修改内容\n建议通过脚本去获取cookie')
195 return [];
196 }
197 }
198}
199
200/*
201修改时间戳转换函数,京喜工厂原版修改

Callers 2

Calls 2

logMethod · 0.45
msgMethod · 0.45

Tested by

no test coverage detected