How to serialize an ArrayList<CustomObject>?

We need more code! Furthermore we have to less information.

Is “Objeto” a serialized object at all?
What do you actually send? An object of the “PlayerInventory” class?