https://kotlinlang.org logo
#serialization
Title
# serialization
r

rnett

09/04/2021, 12:44 AM
I'm trying to essentially override a class's serializer with a contextual serializer (think deserializing
List
to
MutableStateList
). I expected this to work by simply adding the new serializer to the context, but it is not used. Is there a way to do this? Note that I can't alter the declarations of the classes that use class I want to override.