How can i convert a array to a structure

I don’t think that is what i’m looking for. Thanks anyway.