c

    CLOVIS

    3 years ago
    Is there a Kotlin Multiplatform JSON library? I've read about Ktor and from what I understand it uses a different engine per platform, but it doesn't provide any common API so as soon as JSON handling happens it needs to be platform-specific?
    russhwolf

    russhwolf

    3 years ago
    Yes there’s https://github.com/Kotlin/kotlinx.serialization. See also #serialization
    c

    CLOVIS

    3 years ago
    Thank you
    m

    Matej Drobnič

    3 years ago
    Is serialization runtime with reflection?
    or precompiled adapters like ktor?
    kpgalligan

    kpgalligan

    3 years ago
    It’s not reflection on native for sure. I think it’s a compiler plugin