JsonInheritanceAttribute public class JsonInheritanceAttribute : Attribute Defines a child class in the inheritance chain. Documentation Code public string Key { get; } Gets the discriminator key. public Type Type { get; } Gets the child class type. public JsonInheritanceAttribute(string key, Type type) Initializes a new instance of the JsonInheritanceAttribute class.