MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / verifyJSON

Function verifyJSON

web/src/helpers/utils.js:239–246  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

237}
238
239export const verifyJSON = (str) => {
240 try {
241 JSON.parse(str);
242 } catch (e) {
243 return false;
244 }
245 return true;
246};
247
248export function verifyJSONPromise(value) {
249 try {

Callers 8

handleSaveFunction · 0.90
submitFunction · 0.90
submitPayAddressFunction · 0.90
SettingsChats.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected