Closed iNoles closed 1 year ago
Gson is not really Kotlin friendly because it doesn't understand about Kotlin null safe types.
Moshi is made by Square and have kotlin support by codegen or reflect which requires kapt.
JetBrains made own json serialization library. https://github.com/Kotlin/kotlinx.serialization it have own compiler plugins for it.
Yeah thanks for bringing this up. I'll try to do this sometime soon :)
I'd like to try my hand at this! I'll try to get a PR out this weekend at some point :)
Thanks @nkrebs13. I'll assign the issue to you then :)
Gson is not really Kotlin friendly because it doesn't understand about Kotlin null safe types.
Moshi is made by Square and have kotlin support by codegen or reflect which requires kapt.
JetBrains made own json serialization library. https://github.com/Kotlin/kotlinx.serialization it have own compiler plugins for it.