JsonPolymorphicAttribute
When placed on a type, indicates that the type should be serialized polymorphically.
Gets or sets a value that indicates whether the deserializer should ignore any unrecognized type discriminator IDs and revert to the contract of the base type.
Gets or sets a custom type discriminator property name for the polymorhic type.
Uses the default '$type' property name if left unset.
Gets or sets the behavior when serializing an undeclared derived runtime type.
public JsonPolymorphicAttribute()
Creates a new JsonPolymorphicAttribute instance.