What's the right way to deserialize JSon into Kotl...
# getting-started
q
What's the right way to deserialize JSon into Kotlin data classes, accounting for nonnullability?
e
I recommend Moshi (github.com/square/moshi) if youre not constrained on using libraries. If you’re not running on the JVM (or Android) then look into kotlinx.serialization (https://github.com/Kotlin/kotlinx.serialization)
👍 1