I've used data classes with Jackson-kotlin module....
# announcements
m
I've used data classes with Jackson-kotlin module. I think that's the key. Ensure kotlinmodule is registered with Jackson and it gets 'smarter'
👆 3
👏 2
s
do you have a link to something on github that shows this? I feel like that would be cool to look at
s
try a quick google for
jackson kotlin
m
Not easily at hand. This is work project, so closed.
i
it also use Kotlin-Reflect Library too.
d
keep this in mind if this is in the android context ☝️ pretty much makes jackson-kotlin unviable
the reflection library is enormous
m
very true. I'm writing jvm server so less of a concern.
d
Moshi uses code generation instead of reflection and is being developed as a replacement for gson.