JsonInheritanceConverter<TBase>
Defines the class as inheritance base class and adds a discriminator property to the serialized object.
Gets the list of additional known types.
Gets the discriminator property name.
public JsonInheritanceConverter()
Initializes a new instance of the JsonInheritanceConverter<T> class.
Initializes a new instance of the JsonInheritanceConverter<T> class.
protected virtual Type GetDiscriminatorType(JsonElement jObject, Type objectType, string discriminatorValue)
Gets the type for the given discriminator value.
Gets the discriminator value for the given type.