Hey I’m using `kotlinx-serialization` with `ktor` ...
# ktor
n
Hey I’m using
kotlinx-serialization
with
ktor
however I’m receiving a
java.lang.NoClassDefFoundError
with
call.receive<MyModel>
. Any clue what could be wrong with the setup?
l
Does your data class have the
@Serializable
annotation?
n
Yes, and also
@SerialName
l
Did you install
ContentNegotiation
accordingly as well?
n
Yepp