What is object serialization?

Warrior picture Warrior · Jan 15, 2009 · Viewed 297.3k times · Source

What is meant by "object serialization"? Can you please explain it with some examples?

Answer

TarkaDaal picture TarkaDaal · Jan 15, 2009

Serialization is the conversion of an object to a series of bytes, so that the object can be easily saved to persistent storage or streamed across a communication link. The byte stream can then be deserialized - converted into a replica of the original object.