Closed raderio closed 5 years ago
All cases can already be implemented manually using JSONDecoderCodec
s.
What would simplify this for you? Or is it just that you need some examples?
Are you actually using codecs or what exactly is the context here?
There are 2 types of polymorphism:
1.2 Discriminator external
anyOf
from SwaggerBecause only
Circle
class hasradius
field, first object from list will be deserialized inCircle
class.Also should be possible to do nested deserialization(multi level).
Please add support for all this cases.