Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Text.​Json.​Serialization.​Metadata.​JsonDerivedType

Assembly: System.Text.Json

Represents a supported derived type defined in the metadata of a polymorphic type.

Properties

public Type
DerivedType
Gets a derived type that should be supported in polymorphic serialization of the declared base type.
public object
TypeDiscriminator
Gets the type discriminator identifier to be used for the serialization of the subtype.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object