Sometimes I get a `kotlinx.serialization.UpdateNot...
# serialization
f
Sometimes I get a
kotlinx.serialization.UpdateNotSupportedException: Update is not supported for <class>
exception for custom serializers. This only seems to happen when there are multiple objects which have custom serializers in one serializable class, rather than being related to a specific serializer. I guess I could override
patch
in all of my serializers, but what is the meaning of
Update
and
patch
? Also I feel like I'm not supposed to do this considering the documentation doesn't say to override
patch
...
If I try to use the json serializer I get
Copy code
java.lang.IllegalStateException: Reader has not consumed the whole input:
very weird