Nested Structures

I’m trying to create an array, save it and load it when game is starting.
The array contains object A. Object A contains an array of object As in it. That way each element in the array can split to separate branches.
For saving, I tried creating two structures: One that contains the parameters of the object I’m trying to save (let’s call it Structure A) and another structure that contains Structure A and an array of Structure As.
I think the save part works, but loading is a problem.