I'm experimenting with writing my own serializatio...
# serialization
d
I'm experimenting with writing my own serialization format. How would I best handle it, if the underlying format can handle certain types (like for example a Timestamp) natively? Would I detect this type in
Encoder#encodeSerializableValue
and act accordingly?
r
There's a good breakdown of custom serialization formats in the docs here https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/formats.md#custom-formats-experimental
👍 1
d
Thank you, that seems to confirm my idea.
s