skydoves / pokedex-compose

🗡️ Pokedex Compose demonstrates modern Android development with Jetpack Compose, Hilt, Coroutines, Flow, Jetpack (Room, ViewModel), and Material Design based on MVVM architecture.
Apache License 2.0
750 stars 124 forks source link

Migrate from moshi to kotlin serialization #12

Closed FreedomChuks closed 6 months ago

FreedomChuks commented 6 months ago

Advantages of Serialization over Moshi

Kotlin-first Approach it has native support for Kotiln and its ecoSystem

Performance Below is a benchmark result of Moshi and kotlin serialization for a userObject

Screenshot 2024-05-14 at 02 31 15

Ease of Integration integration is straightforward and very seamless

Support for kotlinMultiplarform Switching the project to KMM would be one step easier