I want to pass color from my backend in ktor over ...
# ktor
i
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
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.
i
Thanks @Chrimaeon