This may sound daft for which I am sorry.

I have an array

I have objects (x amount) stored in the array, all of the same type.

I want to serialize all the objects in the array. How can I do this in one go without doing a serialize on each object in the array? is this possible?