Toddobryan
06/13/2019, 4:07 PMencodeDefaults
value for a given field? I have a type
field that I'm using to distinguish subclasses. Obviously, I set the val in each subclass, but when I'm deserializing, I only know it's the superclass and without the type
, there's no way to know which subclass to deserialize to.Toddobryan
06/13/2019, 7:50 PM