JsonDerivedTypeAttribute public class JsonDerivedTypeAttribute : JsonAttribute Documentation Code public Type DerivedType { get; } public object TypeDiscriminator { get; } public JsonDerivedTypeAttribute(Type derivedType) public JsonDerivedTypeAttribute(Type derivedType, string typeDiscriminator) public JsonDerivedTypeAttribute(Type derivedType, int typeDiscriminator)