Serializers
Let’s learn about serialization and its importance in clean architecture.
We'll cover the following...
Outer layers can use the Room
model, but if we want to return the model itself due to an API call, we need a serializer.
The typical serialization format is JSON, since this is a broadly accepted standard for web-based APIs. The serializer is not a part of the model but is actually a specialized external class that ...
Access this course and 1400+ top-rated courses and projects.