:wave: Hello, team! I am wandering where can we fi...
# serialization
y
👋 Hello, team! I am wandering where can we find more reference for how a
format de/encoder
[Link] works with a
serializer
[Link]. I am following the Kotlin Serialization Guide, and I can see this
encodeSerializableValue()
method is how de/encoder interact with serializer, but wandering if I can find more detail instructions or example guide. Thank you.
Copy code
encoder.encodeSerializableValue(serializer, value)
e
in Encoder/Decoder, you should generally not reference KSerializer. control flows the other way around: the serializer uses passes its SerialDescriptor to various functions on the Encoder/Decoder to perform serialization/deserialization as appropriate
👍 1