Skip to content

Sample repository for a practical strategy to remove Gson from your project.

Notifications You must be signed in to change notification settings

Harrypulvirenti/GsonMigration

Repository files navigation

Gson Migration Strategy - Practical guide

In this repository, you will find the code examples of a migration strategy from Gson to Kotlin x Serialization.

This strategy is detailed described in this article.

The examples are split into different branches per step:

  • Fix DTOs fields nullability
  • Implement a Custom Deserializers
  • Register the deserializers to the Gson instance and deserializers tests
  • Finalise the migration to Kotlin x Serialization

For details about the advantages of this strategy refer to the provided article above.

About

Sample repository for a practical strategy to remove Gson from your project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages