What are the main advantages of binary serialization?- An object is stored in a file, a database or even in the memory. However, data to be transferred over a network needs to be in a linear form for which serialization and deserialization are used.
- Advantage of serialization is the ability of an object to be serialized into a persistent or a non-persistent storage media and then reconstructing the same object later by de-serializing the object.
- Also Binary Serialization is faster, supports complex objects too with read only properties and even circular references.
|