How to save gameobject with their childs in JSON?

Hello everybody,

I’m trying to save a gameobject that has several children inside in a json, and I can not figure out how to do it …

I’m new in this. Can anybody help me?

First of all thank you.

Make a loop that will save each item with a reference to their parent using a an ordered search from the roots. Then reconstruct by making a loop that will pick that ordered list and attach each object to its parent by starting with the roots.

1 Like

Can you give me some examples please? , thanks for your help