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

Function sceneFromJSON

docs/app/js/sanddance-app.js:123143–123146  ·  view source on GitHub ↗
(json)

Source from the content-addressed store, hash-verified

123141 return JSON.stringify(scene, keys, indent);
123142}
123143function sceneFromJSON(json) {
123144 const scene = typeof json === "string" ? JSON.parse(json) : json;
123145 return initialize(scene);
123146}
123147function initialize(scene) {
123148 var type7 = scene.marktype, items = scene.items, parent, i, n;
123149 if (items) for(i = 0, n = items.length; i < n; ++i){

Callers 1

ScenegraphFunction · 0.70

Calls 1

initializeFunction · 0.70

Tested by

no test coverage detected