JsonDerivedTypeAttribute
When placed on a type declaration, indicates that the specified subtype should be opted into polymorphic serialization.
A derived type that should be supported in polymorphic serialization of the declared base type.
The type discriminator identifier to be used for the serialization of the subtype.
Initializes a new attribute with specified parameters.
Initializes a new attribute with specified parameters.
Initializes a new attribute with specified parameters.