I want to pass color from my backend in ktor over to android which is my client. How can i achieve it in ktor? Previously i was doing it from android using androidx graphical compose. Any guide will greatly appreciated.here is my model in ktor
c
Chrimaeon
11/01/2022, 4:41 PM
If you look at the Kotlin serialization documentation there is actually an example how to serialize a color. For Ktor you‘ll actually have to create your own class.