What is Serialization & De-Serialization

When Application is in active state, all the object-data are stored in memory. But there comes a time when user quits your application and all its data are released from memory. This flushing of data, causes application to loose all its progress, which definitely isn’t ideal for any type of application.

And this is where the concept of Serialization dives-in for rescue, i.e., we can completely avoid data loss by saving a copy of application data onto disk and use the same saved data for restoring objects back to memory, when application is relaunched.

Serialization is a process of converting object-data into binary stream and saving onto disk.

Deserialization does exactly the opposite i.e, it restores object from formerly saved binary stream.

Cross Platform Easy Save can either save to Player Prefs or to a file directly with minimum allocations and maximising the performance.

Last updated