https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

CLOVIS

05/25/2019, 3:18 PM
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?
r

russhwolf

05/25/2019, 3:21 PM
Yes there’s https://github.com/Kotlin/kotlinx.serialization. See also #serialization
5
c

CLOVIS

05/25/2019, 3:23 PM
Thank you
m

Matej Drobnič

05/25/2019, 8:23 PM
Is serialization runtime with reflection?
or precompiled adapters like ktor?
k

kpgalligan

05/25/2019, 8:41 PM
It’s not reflection on native for sure. I think it’s a compiler plugin
👌 4
2 Views