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

Sreeramktm 27

08/25/2022, 7:40 AM
Hi everyone, is there any library to support json handling in KMM. I am trying to have common json implementation across platforms. Found kotlinx.serialization, which can be used in common and android but not in iOS.
v

vanniktech

08/25/2022, 7:45 AM
I use it on ios without any problems and many others do too
s

Sreeramktm 27

08/25/2022, 7:49 AM
Thanks, is there any document or examples of iOS implementations. Would be highly useful.
d

Didier Villevalois

08/25/2022, 7:59 AM
@Sreeramktm 27 you'll find plenty of examples using kotlinx-serialization on iOS here: https://kotlinlang.org/docs/multiplatform-mobile-samples.html Also, just setup it like explained here: https://github.com/Kotlin/kotlinx.serialization#setup
2 Views