Join Slack
Communities
Powered by
Do we have a Gson library for Kotlin ?
# announcements
d
Dj
05/20/2018, 6:44 PM
Do we have a Gson library for Kotlin ?
s
Shawn
05/20/2018, 6:48 PM
you can use Gson with Kotlin as normal
Shawn
05/20/2018, 6:50 PM
there is a library with some extension functions called Kotson that may or may not be of some use to you
h
halirutan
05/20/2018, 6:50 PM
I just quickly looked at the kotlinx repo. If this doesn't work, I would use the java gson library.
s
Shawn
05/20/2018, 6:51 PM
if you’re looking for automatic mapping of data classes, Jackson is capable of that with
jackson-module-kotlin
f
frellan
05/20/2018, 6:53 PM
Kotson 👍
👍 1
k
karelpeeters
05/20/2018, 7:04 PM
#C90AVCDQU
h
Hong
05/20/2018, 8:34 PM
Gson is pretty straightforward to use in Kotlin already
5
Views
Open in Slack
Previous
Next