(json)
| 123141 | return JSON.stringify(scene, keys, indent); |
| 123142 | } |
| 123143 | function sceneFromJSON(json) { |
| 123144 | const scene = typeof json === "string" ? JSON.parse(json) : json; |
| 123145 | return initialize(scene); |
| 123146 | } |
| 123147 | function 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){ |
no test coverage detected