System.Text.Json.Serialization.JsonPolymorphicAttribute
When placed on a type, indicates that the type should be serialized polymorphically.
namespace System.Text.Json.Serialization
{
public sealed class JsonPolymorphicAttribute : JsonAttribute
{
public string TypeDiscriminatorPropertyName { get; set; }
public JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get; set; }
public bool IgnoreUnrecognizedTypeDiscriminators { get; set; }
public JsonPolymorphicAttribute();
}
}