Post Processing on Gson Deserialization

Gson is a great library to serialize from Object to JSON and deserialize from JSON to Object. If the Object model and JSON format match identically, then everything works magically. Else we could customize the Gson object by adding Exclusion Strategy, creating registering Type Adapter to customize the serialization and deserialization etc.

--

--

--

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Recommended from Medium

Event sourcing and CQRS: Match Made In Heaven — Part1

C++ Templates: The Complete Guide 筆記

Monitoring tools in Kubernetes(Prometheus & Grafana)

Algorithms in Colour…Fun for the Whole Family!

Could not decode ARSC file?

Meaningful software. Architectureless design

Dexstream.io — Sale and marketing update

Make Your First App with Flutter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elye

Elye

Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

More from Medium

Cautious: LiveData Transformation Functions are Performed in MainThread

Configuring Scheduled Notifications in Android

Why should we use Kotlin for Android app development?

Jetpack DataStore in Modern Android Development