You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have to make a decision to use Moshi or write our custom Protobuf *.proto -> to Kotlin's serialization data models *.kt codegenerator.
However, we want to be open to switching to Multiplatform in the future.
If you want to build with Kotlin Multiplatform in mind, many developers recommend using kotlinx.serialization, as it already offers robust support for KMM and is more aligned with cross-platform development.
If cross-platform flexibility is a priority, switching to kotlinx.serialization might be the better long-term choice over relying on Moshi.
Activity
JakeWharton commentedon Mar 19, 2024
No one is working on this library so I would not rely on this happening. The conversation to Kotlin/JVM (#1252) stalled, and that's a prerequisite.
Siedlerchr commentedon Jul 11, 2024
I would rather use kotlinx serialization that works in kmp
SarveshRD commentedon Sep 28, 2024
If you want to build with Kotlin Multiplatform in mind, many developers recommend using kotlinx.serialization, as it already offers robust support for KMM and is more aligned with cross-platform development.
If cross-platform flexibility is a priority, switching to kotlinx.serialization might be the better long-term choice over relying on Moshi.