Gson Advanced — Custom Deserialization for Calculated Fields
In this blog post, we'll combine the knowledge of two previous blog posts in one practical use case. You've learned how we can write custom deserializer and how you can annotate model classes with @JsonAdapter. In the next few sections, we'll use those to build a custom deserializer, which correctly …
Continue Reading