I'm trying to use a custom KSerializer for a third...
# ktor
k
I'm trying to use a custom KSerializer for a third party class inside my Ktor client. I have it annotated with "@Serializer(forClass = ...". In the past I had used setMapper() when building the Json for the client. I see that that is now gone, and I'm having a hard time figuring out how to register it in the newest version of Ktor. It says that it's not needed now because of "typeOf", but I'm not sure what that means? Can someone direct me to some info on how to register my custom serializer now? Thanks.