<PackageReference Include="System.Text.Json" Version="11.0.0-preview.2.26159.112" />

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(); } }