https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Alberto

06/10/2021, 9:43 PM
Hello, is the Jackson library supported on KMP projects? If not, is there any guide helping with the conversion of a Java based Jackson project to Kotlin / Kotlinx Serialization?
m

mbonnin

06/10/2021, 9:56 PM
Jackson is jvm only
👍 1
a

Alberto

06/10/2021, 10:24 PM
thanks, I was hoping to find any guide helping with the mapping of certain annotations, like
@JsonSerialize
/
@JsonDeserialize
etc to Kotlinx Serialization ones, but coudln’t find much so far
r

rnett

06/10/2021, 10:48 PM
The data models aren't always exactly the same, so it's probably better to read kotlinx.serialization's guide and start from there. You can probably re-use most of your data classes, but more complicated setups won't transfer.
👍 1
82 Views