Serialization and Deserialization
What are they — and when are they used?
Published in
3 min readOct 15, 2019
Serialization
Serialization converts an in-memory data structure to a value that can be stored or transferred.
Let’s say we have a users
object in a JavaScript script that contains a total user count and a list of users, as follows:
const usersObject = {…