L
linuxfedora
I know how to serialize a object into a file. But if i want to
serialize several different objects into the same file and not at the
same time, Then how can i do it?Thanks
For example:
i need to serialize ClassA object first, then after 1 minute, i need
to serialize ClassB objec to the same file.
And finally, i need to deserialize them and has the ClassA object and
ClassB object from the file.
serialize several different objects into the same file and not at the
same time, Then how can i do it?Thanks
For example:
i need to serialize ClassA object first, then after 1 minute, i need
to serialize ClassB objec to the same file.
And finally, i need to deserialize them and has the ClassA object and
ClassB object from the file.