# \#json-format

**URL:** https://discourse.threejs.org/tag/json-format/68.md

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

---

## [JSON to OBJ converter (or a more modern format)](https://discourse.threejs.org/t/json-to-obj-converter-or-a-more-modern-format/50991)

<div class="topic-metadata">

**Author:** [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)\
**Replies:** 2\
**Last updated:** [April 29, 2023, 8:43am UTC](https://discourse.threejs.org/t/json-to-obj-converter-or-a-more-modern-format/50991 "2023-04-29T08:43:50Z")

</div>

Hi I have two json files (.js extension tho) is there any online converter or a way to import them into blender so I can export them to a modern format (glb or fbx)? Or even convert them into an OBJ so then I can impor…

---

## [Issues loading JSON](https://discourse.threejs.org/t/issues-loading-json/25437)

<div class="topic-metadata">

**Author:** [@Irev-Dev](https://discourse.threejs.org/u/Irev-Dev)\
**Replies:** 8\
**Last updated:** [November 1, 2022, 3:58pm UTC](https://discourse.threejs.org/t/issues-loading-json/25437 "2022-11-01T15:58:38Z")

</div>

I’m trying to load JSON into THREE. I have the JSON just hardcoded into the project atm so from what I gather I should be using ObjectLoader and .parse, but I’m getting an error TypeError: Materials\[json.type\] is not a…

---

## [Convert legacy JSON format to glTF](https://discourse.threejs.org/t/convert-legacy-json-format-to-gltf/38445)

<div class="topic-metadata">

**Author:** [@janhommes](https://discourse.threejs.org/u/janhommes)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 8:07am UTC](https://discourse.threejs.org/t/convert-legacy-json-format-to-gltf/38445 "2022-05-24T08:07:41Z")

</div>

hi folks, we have a very old JSON model which I need to update as the LegacyJSONLoader was removed in 111 and we need to update to a later version of three.js. I tried to use legacythree2gltf.js but it seems to just pro…

---

## [ExtrudeGeometry in three.js JSON](https://discourse.threejs.org/t/extrudegeometry-in-three-js-json/29717)

<div class="topic-metadata">

**Author:** [@HippiE](https://discourse.threejs.org/u/HippiE)\
**Replies:** 2\
**Last updated:** [September 9, 2021, 3:30pm UTC](https://discourse.threejs.org/t/extrudegeometry-in-three-js-json/29717 "2021-09-09T15:30:06Z")

</div>

Hello, in the Julia project Modia3D we generate three.js JSON files for animation export. This works fine for primitive geometries like BoxGeometry, ConeGeometry... However, I do not succeed in exporting ExtrudeGeometry…

---

## [How to import 3D object from imported json file](https://discourse.threejs.org/t/how-to-import-3d-object-from-imported-json-file/19213)

<div class="topic-metadata">

**Author:** [@jaya\_kannan](https://discourse.threejs.org/u/jaya_kannan)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 7:24am UTC](https://discourse.threejs.org/t/how-to-import-3d-object-from-imported-json-file/19213 "2020-09-29T07:24:51Z")

</div>

I couldn’t see the documentation regarding this. I need to upload an 3D object into the threejs scene. Since It is being huge in size (35 mb) . I decide to move some other way to perform this. I have seen these follow…

---

## [Gltf loader, where do we find the image src and the source image data ( threejs r119 )](https://discourse.threejs.org/t/gltf-loader-where-do-we-find-the-image-src-and-the-source-image-data-threejs-r119/17808)

<div class="topic-metadata">

**Author:** [@amsi](https://discourse.threejs.org/u/amsi)\
**Replies:** 4\
**Last updated:** [August 12, 2020, 6:25am UTC](https://discourse.threejs.org/t/gltf-loader-where-do-we-find-the-image-src-and-the-source-image-data-threejs-r119/17808 "2020-08-12T06:25:53Z")

</div>

In the release (r119), GltfLoader has few changes, Image type (normal image to canvas image) and standard material to physical material changes I need to use the source image data, so i can save the texture images in …

---

## [SkinnedMesh / Animation Support in toJSON() export](https://discourse.threejs.org/t/skinnedmesh-animation-support-in-tojson-export/15842)

<div class="topic-metadata">

**Author:** [@amsi](https://discourse.threejs.org/u/amsi)\
**Replies:** 3\
**Last updated:** [June 3, 2020, 5:24pm UTC](https://discourse.threejs.org/t/skinnedmesh-animation-support-in-tojson-export/15842 "2020-06-03T17:24:15Z")

</div>

Was trying to understand support issues for Skinned Animation in toJSON(), SkinnedMesh just a mesh with additional skeleton (array of bones) binded to it We just need to export this in SkinnedMesh.toJSON()? Buffered g…

---

## [Threejs file format - how to correctly interpret the faces count](https://discourse.threejs.org/t/threejs-file-format-how-to-correctly-interpret-the-faces-count/13365)

<div class="topic-metadata">

**Author:** [@ilbiffi](https://discourse.threejs.org/u/ilbiffi)\
**Replies:** 3\
**Last updated:** [March 8, 2020, 11:57pm UTC](https://discourse.threejs.org/t/threejs-file-format-how-to-correctly-interpret-the-faces-count/13365 "2020-03-08T23:57:51Z")

</div>

I’m looking at the file format used by threejs. I see that geometry for the objects are inside “faces” and “vertices”. My understanding of “faces” was that they were listed in order and each group of three represented …

---

## [Converting JSON to GLTF via legacythree2gltf issue](https://discourse.threejs.org/t/converting-json-to-gltf-via-legacythree2gltf-issue/9543)

<div class="topic-metadata">

**Author:** [@jee7](https://discourse.threejs.org/u/jee7)\
**Replies:** 5\
**Last updated:** [October 28, 2019, 1:48am UTC](https://discourse.threejs.org/t/converting-json-to-gltf-via-legacythree2gltf-issue/9543 "2019-10-28T01:48:08Z")

</div>

I tried to convert the Marine JSON model from prior library revisions using the legacythree2gltf converter: marine.zip (2.1 MB) The first issue I had was that while the JSON file is loaded via readFileSync, the text…

---

## [Convert scene to JSON file and download](https://discourse.threejs.org/t/convert-scene-to-json-file-and-download/7764)

<div class="topic-metadata">

**Author:** [@blue](https://discourse.threejs.org/u/blue)\
**Replies:** 2\
**Last updated:** [May 28, 2019, 12:49pm UTC](https://discourse.threejs.org/t/convert-scene-to-json-file-and-download/7764 "2019-05-28T12:49:21Z")

</div>

Hi! I have a simple scene - one THREE.Object3D and a few OBJ models. I want to convert data of the scene to JSON file and give to user possibilities to download this file. Below is the code. This code works to a small…

---

## [How can I save and load workspace in threejs?](https://discourse.threejs.org/t/how-can-i-save-and-load-workspace-in-threejs/6960)

<div class="topic-metadata">

**Author:** [@Zap\_Crinson](https://discourse.threejs.org/u/Zap_Crinson)\
**Replies:** 4\
**Last updated:** [April 8, 2019, 8:48pm UTC](https://discourse.threejs.org/t/how-can-i-save-and-load-workspace-in-threejs/6960 "2019-04-08T20:48:39Z")

</div>

Hi everyone, I am building my own 3d model editor with threejs. I can create a new 3d object or import existing models in the type of gltf, obj, ifc, etc. And I am going to save workspace in a json format or something …

---

## [JSON file is more secure than DRC file, right?](https://discourse.threejs.org/t/json-file-is-more-secure-than-drc-file-right/6918)

<div class="topic-metadata">

**Author:** [@Steve\_Yang](https://discourse.threejs.org/u/Steve_Yang)\
**Replies:** 5\
**Last updated:** [April 4, 2019, 4:52pm UTC](https://discourse.threejs.org/t/json-file-is-more-secure-than-drc-file-right/6918 "2019-04-04T16:52:03Z")

</div>

I know drc file can be decoder to obj file. well someone will steal model file . but json file can’t convert to obj file, right ?

---

## [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…

---

## [JSON Format Documentation](https://discourse.threejs.org/t/json-format-documentation/2011)

<div class="topic-metadata">

**Author:** [@BrianCMansfield](https://discourse.threejs.org/u/BrianCMansfield)\
**Replies:** 1\
**Last updated:** [March 1, 2018, 5:51pm UTC](https://discourse.threejs.org/t/json-format-documentation/2011 "2018-03-01T17:51:29Z")

</div>

Is there any documentation or tutorials explaining the JSON format for an Object3d that could be used in the JSONLoader.parse method? Thank you very much.

---

## [JSON file viewer](https://discourse.threejs.org/t/json-file-viewer/258)

<div class="topic-metadata">

**Author:** [@zmalol](https://discourse.threejs.org/u/zmalol)\
**Replies:** 3\
**Last updated:** [April 27, 2017, 3:12pm UTC](https://discourse.threejs.org/t/json-file-viewer/258 "2017-04-27T15:12:24Z")

</div>

Hi, I like the way of displaing geometry in JSON file with the pressure value at https://threejs.org/examples/#webgl\_geometry\_colors\_lookuptable Is there anything like this to load and view my own JSON files for displa…
