# Loading scene from json

**URL:** <https://discourse.threejs.org/t/loading-scene-from-json/27943>\
**Category:** Questions\
**Tags:** json-loader\
**Created:** [July 12, 2021, 3:36am UTC](https://discourse.threejs.org/t/loading-scene-from-json/27943 "2021-07-12T03:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marknisc-soft](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marknisc-soft/32/19394_2.png) [@marknisc-soft](https://discourse.threejs.org/u/marknisc-soft)\
**Post date:** [July 12, 2021, 3:36am UTC](https://discourse.threejs.org/t/loading-scene-from-json/27943/1 "2021-07-12T03:36:51Z")

</div>

In the latests version I see  
Snippet

function JSONLoader() { console.error(‘THREE.JSONLoader has been removed.’); }

What is the current method for loading a scene from json? The scenario is to create a scene add some objects, then persist (scene.toJSON) it to storage and be able to read the JSON and recreate the scene

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [July 12, 2021, 4:41am UTC](https://discourse.threejs.org/t/loading-scene-from-json/27943/2 "2021-07-12T04:41:04Z")

</div>

JSONLoader was for JSON files created by a (much) older version of three.js. In all recent versions, data created with `object.toJSON()` should be loaded with the [ObjectLoader](https://threejs.org/docs/?q=objectload#api/en/loaders/ObjectLoader) class.
