# \#json

**URL:** https://discourse.threejs.org/tag/json/28.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [I built ThreeJSON — a JSON-driven declarative scene runtime for Three.js. Does this abstraction make sense?](https://discourse.threejs.org/t/i-built-threejson-a-json-driven-declarative-scene-runtime-for-three-js-does-this-abstraction-make-sense/92662)

<div class="topic-metadata">

**Author:** [@tianhehechu2017](https://discourse.threejs.org/u/tianhehechu2017)\
**Replies:** 16\
**Last updated:** [July 12, 2026, 11:18pm UTC](https://discourse.threejs.org/t/i-built-threejson-a-json-driven-declarative-scene-runtime-for-three-js-does-this-abstraction-make-sense/92662 "2026-07-12T23:18:00Z")

</div>

Hi everyone, I’ve been working on an open-source project called ThreeJSON, and I recently released its first alpha version. ThreeJSON is a JSON-driven declarative scene runtime for Three.js. The project started from a …

---

## [Saving a partial scene](https://discourse.threejs.org/t/saving-a-partial-scene/70749)

<div class="topic-metadata">

**Author:** [@CarlBateman](https://discourse.threejs.org/u/CarlBateman)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 5:56pm UTC](https://discourse.threejs.org/t/saving-a-partial-scene/70749 "2024-09-16T17:56:24Z")

</div>

Is there an existing way to serialise only certain items from a scene, or will I have to maintain a list or tag the items and traverse the scene graph?

---

## [Exporting a model with ShaderMaterial](https://discourse.threejs.org/t/exporting-a-model-with-shadermaterial/22834)

<div class="topic-metadata">

**Author:** [@JRefusta](https://discourse.threejs.org/u/JRefusta)\
**Replies:** 1\
**Last updated:** [January 26, 2021, 1:43pm UTC](https://discourse.threejs.org/t/exporting-a-model-with-shadermaterial/22834 "2021-01-26T13:43:32Z")

</div>

Hello everyone, I was trying to export a model which uses a ShaderMaterial in three js. The first idea was trying to do it with GLTFEXporter, but since this method doesn’t support ShaderMaterials, (and thanks to the ans…

---

## [Copy a scene or object for use in another project](https://discourse.threejs.org/t/copy-a-scene-or-object-for-use-in-another-project/60103)

<div class="topic-metadata">

**Author:** [@Dek\_ker](https://discourse.threejs.org/u/Dek_ker)\
**Replies:** 20\
**Last updated:** [January 14, 2024, 11:48am UTC](https://discourse.threejs.org/t/copy-a-scene-or-object-for-use-in-another-project/60103 "2024-01-14T11:48:48Z")

</div>

I’m trying to copy used meshes for use in another project, but I can’t copy a multidimensional object. here is the original mesh object this is obtained after the method .toJSON() and this happens when = JSON.stri…

---

## [Three.js Editor: How to export a scene or project including the camera's projection matrix?](https://discourse.threejs.org/t/three-js-editor-how-to-export-a-scene-or-project-including-the-cameras-projection-matrix/57571)

<div class="topic-metadata">

**Author:** [@Bob55](https://discourse.threejs.org/u/Bob55)\
**Replies:** 6\
**Last updated:** [November 1, 2023, 10:45am UTC](https://discourse.threejs.org/t/three-js-editor-how-to-export-a-scene-or-project-including-the-cameras-projection-matrix/57571 "2023-11-01T10:45:16Z")

</div>

Hello everyone! I would like to do the following with the three.js editor (code here): Build a scene Export that scene/project to keep a copy saved for later use Import a scene/project from disk when needed (to contin…

---

## [Convert/export animations of the same character in file .json](https://discourse.threejs.org/t/convert-export-animations-of-the-same-character-in-file-json/56305)

<div class="topic-metadata">

**Author:** [@Alberto\_Accardo](https://discourse.threejs.org/u/Alberto_Accardo)\
**Replies:** 3\
**Last updated:** [October 2, 2023, 11:30am UTC](https://discourse.threejs.org/t/convert-export-animations-of-the-same-character-in-file-json/56305 "2023-10-02T11:30:55Z")

</div>

Hi guys, premising that I am a 3d modeller and not a great connoisseur of threejs and programming languages, I need some clarification : I have a 3d character that needs several animations (many, probably more than 100).…

---

## [Text geometry not rendering on screen, used fontLoader](https://discourse.threejs.org/t/text-geometry-not-rendering-on-screen-used-fontloader/19418)

<div class="topic-metadata">

**Author:** [@Varun\_Ahuja](https://discourse.threejs.org/u/Varun_Ahuja)\
**Replies:** 2\
**Last updated:** [August 19, 2023, 12:14pm UTC](https://discourse.threejs.org/t/text-geometry-not-rendering-on-screen-used-fontloader/19418 "2023-08-19T12:14:54Z")

</div>

zone.js: GET http:localhost/fonts/helvetiker\_bold.typeface.json 404 (Not Found) Facing this issue while adding text geometry. The code which I have written is: var loader = new THREE.FontLoader(); loader.load( 'fonts…

---

## [Is three.js JSON schema format obsolete?](https://discourse.threejs.org/t/is-three-js-json-schema-format-obsolete/54798)

<div class="topic-metadata">

**Author:** [@tfreifeld](https://discourse.threejs.org/u/tfreifeld)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 4:14pm UTC](https://discourse.threejs.org/t/is-three-js-json-schema-format-obsolete/54798 "2023-08-09T16:14:34Z")

</div>

Is three’s JSON schema format an old schema predating GLTF and support for it is kept for backwards compatibility reasons? Is there nowadays any reason to favor the JSON schema over GLTF? Thanks

---

## [How to create globe news website using three js](https://discourse.threejs.org/t/how-to-create-globe-news-website-using-three-js/39941)

<div class="topic-metadata">

**Author:** [@Shange](https://discourse.threejs.org/u/Shange)\
**Replies:** 12\
**Last updated:** [July 5, 2023, 12:26am UTC](https://discourse.threejs.org/t/how-to-create-globe-news-website-using-three-js/39941 "2023-07-05T00:26:14Z")

</div>

I want to create a globe news website using three js where a user can view the worlds globe and hover over a label for each country to see a widget of the top news story from that country for that day, I have already sta…

---

## [Incorrect bone positions in Object3D after conversion to json](https://discourse.threejs.org/t/incorrect-bone-positions-in-object3d-after-conversion-to-json/45330)

<div class="topic-metadata">

**Author:** [@shikitos](https://discourse.threejs.org/u/shikitos)\
**Replies:** 1\
**Last updated:** [May 27, 2023, 3:27pm UTC](https://discourse.threejs.org/t/incorrect-bone-positions-in-object3d-after-conversion-to-json/45330 "2023-05-27T15:27:25Z")

</div>

I’m trying to export my scene (there is only one 3D humanoid object in the scene) and convert it to .json format. After that, I import that .json into threejs-editor. The result is that my model doesn’t look right. As I …

---

## [ObjectLoader does not load the json properly or .toJSON does not export the needed geometry data](https://discourse.threejs.org/t/objectloader-does-not-load-the-json-properly-or-tojson-does-not-export-the-needed-geometry-data/49140)

<div class="topic-metadata">

**Author:** [@Okidoki](https://discourse.threejs.org/u/Okidoki)\
**Replies:** 9\
**Last updated:** [March 16, 2023, 9:07pm UTC](https://discourse.threejs.org/t/objectloader-does-not-load-the-json-properly-or-tojson-does-not-export-the-needed-geometry-data/49140 "2023-03-16T21:07:28Z")

</div>

Hello guys, Ive been researching on this topic for 2 weeks now… but I couldn’t figure it out. What ive been doing is to serialize a given mesh as JSON, with .toJSON method. I am also using worker-threads, which takes …

---

## [How to Convert .OBJ file to .JS file](https://discourse.threejs.org/t/how-to-convert-obj-file-to-js-file/8710)

<div class="topic-metadata">

**Author:** [@proxz](https://discourse.threejs.org/u/proxz)\
**Replies:** 12\
**Last updated:** [March 5, 2021, 11:44am UTC](https://discourse.threejs.org/t/how-to-convert-obj-file-to-js-file/8710 "2021-03-05T11:44:39Z")

</div>

I am getting problem with the convertion of the 3D object to the Javascript file, I have tried convert 3D object to the json, but there is getting problem with my three.js project. I have also surf the web about convert …

---

## [React, Three, JSON weird error](https://discourse.threejs.org/t/react-three-json-weird-error/23247)

<div class="topic-metadata">

**Author:** [@RobertBeric42](https://discourse.threejs.org/u/RobertBeric42)\
**Replies:** 5\
**Last updated:** [February 9, 2021, 10:25am UTC](https://discourse.threejs.org/t/react-three-json-weird-error/23247 "2021-02-09T10:25:54Z")

</div>

Hi everybody, I’ve got a problem with react-three-fiber and 3d assets. I use useGLTF from drei what does quite what I want, and everything was nicely working until today (I made a build from my app to test it online). T…

---

## [Reload serialized unicode font from local storage](https://discourse.threejs.org/t/reload-serialized-unicode-font-from-local-storage/22219)

<div class="topic-metadata">

**Author:** [@Erdal\_Karaca](https://discourse.threejs.org/u/Erdal_Karaca)\
**Replies:** 1\
**Last updated:** [January 8, 2021, 12:25pm UTC](https://discourse.threejs.org/t/reload-serialized-unicode-font-from-local-storage/22219 "2021-01-08T12:25:14Z")

</div>

My aim is to cache a font once it was loaded once and re-use over user sessions in the browser. I have a converted unicode font which is about 1.5 MB in size instead of the default fonts which are about 60 KB. Just ser…

---

## [Best way to compress a JSON file](https://discourse.threejs.org/t/best-way-to-compress-a-json-file/21982)

<div class="topic-metadata">

**Author:** [@JRefusta](https://discourse.threejs.org/u/JRefusta)\
**Replies:** 5\
**Last updated:** [December 28, 2020, 5:34pm UTC](https://discourse.threejs.org/t/best-way-to-compress-a-json-file/21982 "2020-12-28T17:34:39Z")

</div>

Hello, I’m exporting a .json file which is huge in size (~80MB), and the loading time is very long. This file contains an entire scene (meshes, geometries, materials, etc). And I was wondering if I could save that json…

---

## [Experienced Three.js Developer needed for enterprise-level real-time visualisation project](https://discourse.threejs.org/t/experienced-three-js-developer-needed-for-enterprise-level-real-time-visualisation-project/18284)

<div class="topic-metadata">

**Author:** [@Orpheus](https://discourse.threejs.org/u/Orpheus)\
**Replies:** 0\
**Last updated:** [August 30, 2020, 1:01pm UTC](https://discourse.threejs.org/t/experienced-three-js-developer-needed-for-enterprise-level-real-time-visualisation-project/18284 "2020-08-30T13:01:45Z")

</div>

Hi, I’m the lead 3D artist on an enterprise-level visualisation project. We are currently looking for an experienced WebGL / Three.js developer familiar with real-time optimisation & performance. Requirements.pdf (36.…

---

## [When I save a mesh via toJSON() how do I include a DataTexture?](https://discourse.threejs.org/t/when-i-save-a-mesh-via-tojson-how-do-i-include-a-datatexture/7670)

<div class="topic-metadata">

**Author:** [@dugla](https://discourse.threejs.org/u/dugla)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 10:06pm UTC](https://discourse.threejs.org/t/when-i-save-a-mesh-via-tojson-how-do-i-include-a-datatexture/7670 "2019-05-21T22:06:52Z")

</div>

I am saving a collection of meshes via toJSON(). I see that my material textures just get saved as a UUID. What are my options for saving the actual texture data to disk as well. I am happy to write to separate - perhaps…

---

## [Unable to stringify JSON of 3D model](https://discourse.threejs.org/t/unable-to-stringify-json-of-3d-model/1089)

<div class="topic-metadata">

**Author:** [@Malkom](https://discourse.threejs.org/u/Malkom)\
**Replies:** 8\
**Last updated:** [February 1, 2019, 8:02pm UTC](https://discourse.threejs.org/t/unable-to-stringify-json-of-3d-model/1089 "2019-02-01T20:02:10Z")

</div>

I have a 3D model in memory that I can call toJSON() on, and store that JSON version of the object in a var. When I try to call JSON.stringify(model), I get an error: Uncaught TypeError: Cannot read property ‘\[uuid appe…

---

## [Export Import JSON \[SOLVED\]](https://discourse.threejs.org/t/export-import-json-solved/4885)

<div class="topic-metadata">

**Author:** [@diniden](https://discourse.threejs.org/u/diniden)\
**Replies:** 1\
**Last updated:** [November 9, 2018, 11:52pm UTC](https://discourse.threejs.org/t/export-import-json-solved/4885 "2018-11-09T23:52:05Z")

</div>

I tried searching this a few ways with little luck. Object3D has a toJSON() method. Does Three have anything that will load the exported JSON? I am having a bear of a time reproducing the issues I’ve found with Fiddles…

---

## [Undefined texture to load JSON material with MaterialLoader](https://discourse.threejs.org/t/undefined-texture-to-load-json-material-with-materialloader/3954)

<div class="topic-metadata">

**Author:** [@Sofia\_Ribeiro](https://discourse.threejs.org/u/Sofia_Ribeiro)\
**Replies:** 15\
**Last updated:** [August 31, 2018, 9:56am UTC](https://discourse.threejs.org/t/undefined-texture-to-load-json-material-with-materialloader/3954 "2018-08-31T09:56:36Z")

</div>

Hello, I have an Object and a texture that come from an API to apply to my object. I’m using ObjectLoader to load the JSON object and everything works just fine. Otherwise, to load the JSON texture/material, I’m using M…

---

## [Troubleshooting Loading JSON Model](https://discourse.threejs.org/t/troubleshooting-loading-json-model/2176)

<div class="topic-metadata">

**Author:** [@calebcarithers](https://discourse.threejs.org/u/calebcarithers)\
**Replies:** 16\
**Last updated:** [May 26, 2018, 7:20pm UTC](https://discourse.threejs.org/t/troubleshooting-loading-json-model/2176 "2018-05-26T19:20:44Z")

</div>

Attempting to load JSON model that has been exported from Blender. Getting the error three.min.js:684 Uncaught TypeError: Cannot read property 'length' of undefined at ce.parse (three.min.js:684) at dunno.html:2…

---

## [Change Object parent in Three.js using JSON file](https://discourse.threejs.org/t/change-object-parent-in-three-js-using-json-file/2307)

<div class="topic-metadata">

**Author:** [@ccamilo](https://discourse.threejs.org/u/ccamilo)\
**Replies:** 10\
**Last updated:** [April 2, 2018, 3:32pm UTC](https://discourse.threejs.org/t/change-object-parent-in-three-js-using-json-file/2307 "2018-04-02T15:32:34Z")

</div>

I’m using same technique explained in this example: https://threejs.org/examples/#webgl\_animation\_keyframes\_json I defined a JSON file that contains all objects, geometries and animations. However, I couldn’t find the w…

---

## [Multi animations from Blender / JSON](https://discourse.threejs.org/t/multi-animations-from-blender-json/1325)

<div class="topic-metadata">

**Author:** [@electricenjin](https://discourse.threejs.org/u/electricenjin)\
**Replies:** 6\
**Last updated:** [December 1, 2017, 11:52pm UTC](https://discourse.threejs.org/t/multi-animations-from-blender-json/1325 "2017-12-01T23:52:42Z")

</div>

I can’t seem to get this JSON model to animate in three.js. I’ve tried exporting it so many different ways using the three exporter, but I’m not sure if it’s the model or the code. I’m getting a trace on the animations f…

---

## [Failure import json animation from Blender ( decided )](https://discourse.threejs.org/t/failure-import-json-animation-from-blender-decided/1028)

<div class="topic-metadata">

**Author:** [@vasilii](https://discourse.threejs.org/u/vasilii)\
**Replies:** 3\
**Last updated:** [October 17, 2017, 8:10pm UTC](https://discourse.threejs.org/t/failure-import-json-animation-from-blender-decided/1028 "2017-10-17T20:10:44Z")

</div>

Animation model bad working: http://js.otrisovano.ru/tests/09-2botwar/gluk/ Model without animation: http://js.otrisovano.ru/tests/09-2botwar/model/ Blender scene: http://js.otrisovano.ru/tests/09-2botwar/blender.z…

---

## [Json Datastream Record and Playback using Timeline](https://discourse.threejs.org/t/json-datastream-record-and-playback-using-timeline/803)

<div class="topic-metadata">

**Author:** [@Tom](https://discourse.threejs.org/u/Tom)\
**Replies:** 7\
**Last updated:** [September 8, 2017, 3:09pm UTC](https://discourse.threejs.org/t/json-datastream-record-and-playback-using-timeline/803 "2017-09-08T15:09:06Z")

</div>

I’m looking for a simple solution to record and store a stream of data. These are dynamic values from 0.01 - 1.00 which I surrender to the dat.GUI. All this I would like to do later on an animation Timeline. I have found…

---

## [Blender--\>JSON--\>Skinned Mesh rig not working](https://discourse.threejs.org/t/blender-json-skinned-mesh-rig-not-working/618)

<div class="topic-metadata">

**Author:** [@dandan](https://discourse.threejs.org/u/dandan)\
**Replies:** 0\
**Last updated:** [July 16, 2017, 4:04am UTC](https://discourse.threejs.org/t/blender-json-skinned-mesh-rig-not-working/618 "2017-07-16T04:04:42Z")

</div>

I'm trying to control a rigged hand in Three.js. I'm almost there! I've seen a few threads around this, but none of the possible solutions seem to work for me. Here is a preview: http://halfhalf.us/jsfiddle/ For whatev…

---

## [Blender--\>JSON--\>Skinned Mesh rigging not working](https://discourse.threejs.org/t/blender-json-skinned-mesh-rigging-not-working/616)

<div class="topic-metadata">

**Author:** [@dandan](https://discourse.threejs.org/u/dandan)\
**Replies:** 0\
**Last updated:** [July 16, 2017, 4:01am UTC](https://discourse.threejs.org/t/blender-json-skinned-mesh-rigging-not-working/616 "2017-07-16T04:01:56Z")

</div>

I'm trying to control a rigged hand in Three.js. I'm almost there! I've seen a few posts around this, but the possible solutions in the thread did not work for me. Here is a preview: http://halfhalf.us/jsfiddle/ For wh…

---

## [JSON Scene Textures not showing](https://discourse.threejs.org/t/json-scene-textures-not-showing/112)

<div class="topic-metadata">

**Author:** [@djos06](https://discourse.threejs.org/u/djos06)\
**Replies:** 1\
**Last updated:** [March 28, 2017, 1:14pm UTC](https://discourse.threejs.org/t/json-scene-textures-not-showing/112 "2017-03-28T13:14:49Z")

</div>

Hello everybody, I'm trying to load an entire scene exported from blender to json using the Three.js json exporter. In my javascript code, I'm trying to load the scene using this method : function loadJSONObjectMod…
