System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions
Defines polymorphic configuration for a specified base type.
namespace System.Text.Json.Serialization.Metadata
{
public class JsonPolymorphismOptions
{
public IList<JsonDerivedType> DerivedTypes { get; }
public bool IgnoreUnrecognizedTypeDiscriminators { get; set; }
public JsonUnknownDerivedTypeHandling UnknownDerivedTypeHandling { get; set; }
public string TypeDiscriminatorPropertyName { get; set; }
public JsonPolymorphismOptions();
}
}