MCPcopy Create free account
hub / github.com/microsoft/SandDance / parseJSON

Function parseJSON

docs/tests/v2/es6/js/sanddance.js:36036–36042  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

36034}
36035
36036function parseJSON(file) {
36037 try {
36038 return JSON.parse(file);
36039 } catch (error) {
36040 throw new Error("Failed to parse JSON: ".concat(error));
36041 }
36042}
36043},{"@babel/runtime/helpers/esm/slicedToArray":"T12H","../utils/assert":"iVaU","./browser-load":"WFKF","../webgl":"yQJr","../core":"fdK2","../geometry":"EJCl"}],"HSmR":[function(require,module,exports) {
36044"use strict";
36045

Callers 2

parseModelFunction · 0.70
jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected