Join Slack
Powered by
Since KotlinxSerializer setMapper is deprecated, w...
# ktor
t
Tony
01/01/2020, 4:39 PM
Since KotlinxSerializer setMapper is deprecated, what should be used instead?
d
Dominaezzz
01/01/2020, 4:45 PM
Interesting, it appears you don't need to explicitly register serializers anymore.... What happens if you don't call
setMapper
?
👌 1
t
Tony
01/01/2020, 4:46 PM
I am not sure! I have not tried. I saw the deprecated lines. I will try it out and let you know 🙂
c
cy
01/01/2020, 8:07 PM
Simply remove register/mapper functions invocations
cy
01/01/2020, 8:07 PM
With Kotlin compiler 1.3.50+ it should work without registration
t
Tony
01/01/2020, 8:10 PM
Thank you for the verification! 🙂
☝🏼 1
29
Views
Open in Slack
Previous
Next