Alex shows in his small framework a different approach for serialization of data structures.
Serialization by contract
By Alex Marmer
From the article:
In any project, when a function is created for serialization, another function is created for unserialization.
Serialization by contrast uses another approach - a contract with name and data structures is declared, and then serialization and unserialization of the data are automatic.
Add a Comment