Skip to content

Support Kotlin Multiplatform #1827

Open

Description

@samoylenkodmitry

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?

Activity

  1. JakeWharton commented on Mar 19, 2024

    @JakeWharton
    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.

  2. Siedlerchr commented on Jul 11, 2024

    @Siedlerchr

    I would rather use kotlinx serialization that works in kmp

  3. SarveshRD commented on Sep 28, 2024

    @SarveshRD

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions