Is it possible to implement my own custom format a...
# serialization
m
Is it possible to implement my own custom format and hook into the
@Serializable
infrastructure? Aka, is it possible for me to define something like
MyFormat.decodeFromString
and
MyFormat.encodeToMyFormat
m
Yep, there are quite a few that do already, here is a list of most of them. https://github.com/Kotlin/kotlinx.serialization/tree/master/formats
m
yeah I saw that, but I didn't find instructions on how to implement my own
m
m
I see, I missed it
thanks!
a
I also missed this. Much thanks for this germ