Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kotlin Multiplatform #1827

Open
samoylenkodmitry opened this issue Mar 19, 2024 · 3 comments
Open

Support Kotlin Multiplatform #1827

samoylenkodmitry opened this issue Mar 19, 2024 · 3 comments

Comments

@samoylenkodmitry
Copy link

samoylenkodmitry commented Mar 19, 2024

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.

Do Moshi's team have a KMM in their roadmap?

@JakeWharton
Copy link
Collaborator

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
Copy link

I would rather use kotlinx serialization that works in kmp

@SarveshRD
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants