Hey there, I'm trying to implement a custom Decode...
# serialization
r
Hey there, I'm trying to implement a custom Decoder that enables
decodeSequentially
. I'm having issues getting it to handle primitive properties with default values - it appears that the generated serializer calls
decodeStringElement
even for properties with defaults, which gives me no way to handle the default. In non-sequential decoding I handle this by just not returning the index if the default value should be used - is there a way to do something similar for sequential decoding, or any way at all to signal the default value should be used?