MCPcopy Create free account
hub / github.com/EvoMap/evolver / cloneJson

Function cloneJson

src/gep/cliContracts.js:424–426  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

422}
423
424function cloneJson(value) {
425 return JSON.parse(JSON.stringify(value));
426}
427
428function loadAssetRef(ref, deps) {
429 if (looksLikeFile(ref)) return normalizeAsset(JSON.parse(fs.readFileSync(path.resolve(ref), 'utf8')));

Callers 1

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected