One of the most common process that goes together with APIs creation is a serialization (marshalling) or deserialization (unmarshalling) of data. So, what is (de)serialization? According to
Wikipedia it is the process of translating data structures or object state into a format that can be stored (for example, in a file or memory buffer) or transmitted (for example, across a network connection) and reconstructed later (possibly in a different computer environment). You may ask "Hey, python has already tons of different packages for these purposes". And this is true. There are many cool packages like
marshmallow, but in this article we'll be talking about (de)serialization with Python 3.7 standard features.