https://kotlinlang.org logo
Title
a

Alexandre Brown

12/19/2021, 6:49 PM
Hello, I'm using Ktor 2.0 and was wondering why ktor-client JsonPlugin is deprecated? I could not find a ktor-client-content-negociation does this mean the client has to have a server dependency (ktor-server-content-negociation) now ? Thanks
b

Big Chungus

12/19/2021, 7:49 PM
No, content negotiation is now shared plugin
Both, server and client predecessors are deprecated
a

Alexandre Brown

12/19/2021, 7:52 PM
Thanks for the info @Big Chungus, makes sense
d

duuusha

12/20/2021, 7:56 AM
you can find more info about deprecations in the migration guide: https://ktor.io/docs/eap/migrating-2.html#serialization-client
👍 3