Since KotlinxSerializer setMapper is deprecated, w...
# ktor
t
Since KotlinxSerializer setMapper is deprecated, what should be used instead?
d
Interesting, it appears you don't need to explicitly register serializers anymore.... What happens if you don't call
setMapper
?
👌 1
t
I am not sure! I have not tried. I saw the deprecated lines. I will try it out and let you know 🙂
c
Simply remove register/mapper functions invocations
With Kotlin compiler 1.3.50+ it should work without registration
t
Thank you for the verification! 🙂
☝🏼 1