# Node Material Editor With Parsed Json

**URL:** <https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778>\
**Category:** Questions\
**Created:** [August 3, 2021, 7:07pm UTC](https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778 "2021-08-03T19:07:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [August 3, 2021, 7:07pm UTC](https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778/1 "2021-08-03T19:07:45Z")

</div>

Hey guys, was wondering if there was a way to load a node material using already parsed json object… I know about LoadAsync

```auto
nodeMaterial.loadAsync("file-url.json").then(() => {
    nodeMaterial.build(true);
});

```

But if i already have the parsed json object… how can i load that instead of the url to server json file ?

---

<div class="post-metadata">

**Author:** ![msDestiny14](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/msdestiny14/32/9572_2.png) [@msDestiny14](https://forum.babylonjs.com/u/msDestiny14)\
**Post date:** [August 3, 2021, 8:09pm UTC](https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778/2 "2021-08-03T20:09:32Z")

</div>

If you go into the source on git hub you can see how we are doing it. 🙂  
Let me see if I can find the file for you.

---

<div class="post-metadata">

**Author:** ![msDestiny14](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/msdestiny14/32/9572_2.png) [@msDestiny14](https://forum.babylonjs.com/u/msDestiny14)\
**Post date:** [August 3, 2021, 8:20pm UTC](https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778/3 "2021-08-03T20:20:59Z")

</div>

loadFromSerialization in the [Babylon.js/nodeMaterial.ts at master · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/blob/master/src/Materials/Node/nodeMaterial.ts)

---

<div class="post-metadata">

**Author:** ![MackeyK24](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mackeyk24/32/3741_2.png) [@MackeyK24](https://forum.babylonjs.com/u/MackeyK24)\
**Post date:** [August 4, 2021, 12:43am UTC](https://forum.babylonjs.com/t/node-material-editor-with-parsed-json/22778/4 "2021-08-04T00:43:51Z")

</div>

I found ir right after i made the post.

BTW i am using the static BABYLON.NodeMaterial.Parse function
