Join Slack
Powered by
<How to keep "type" field for the encodeToString m...
# stackoverflow
r
rss
08/07/2023, 5:21 PM
How to keep "type" field for the encodeToString method?
I am tryin to send a serialized message from server to a client. I use Ktor:
https://ktor.io
I use a polymorphic serializers module to decode\encode text messages. From this docs:
https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/polymorphism.md#registered-subclasses
i see that the...
4
Views
Open in Slack
Previous
Next