Join Slack
Powered by
What's the right way to deserialize JSon into Kotl...
# getting-started
q
Quy D X Nguyen
11/27/2018, 4:18 AM
What's the right way to deserialize JSon into Kotlin data classes, accounting for nonnullability?
e
efemoney
11/27/2018, 6:51 AM
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
5
Views
Open in Slack
Previous
Next