https://kotlinlang.org logo
s

Stian N

04/05/2020, 11:07 AM
What's the easiest way to format a class to JSON to use with a REST request?
r

rbares

04/05/2020, 11:09 AM
there are a number of libraries available, including kotlinx.serialization. Personal preference is still moshi
n

nfrankel

04/05/2020, 11:09 AM
i’d say jackson there’s an additional dependency to handle kotlin specifics
👍 1
s

Stian N

04/05/2020, 11:29 AM
Thanks. I think I'l stick with Jackson.
👍 1