Επεξεργασία

Κοινή χρήση μέσω


JsonTypeInfo.Converter Property

Definition

Gets the JsonConverter associated with the current type.

public:
 property System::Text::Json::Serialization::JsonConverter ^ Converter { System::Text::Json::Serialization::JsonConverter ^ get(); };
public System.Text.Json.Serialization.JsonConverter Converter { get; }
member this.Converter : System.Text.Json.Serialization.JsonConverter
Public ReadOnly Property Converter As JsonConverter

Property Value

Remarks

The JsonConverter associated with the type determines the value of Kind, and by extension the types of metadata that are configurable in the current JSON contract. As such, the value of the converter cannot be changed once a JsonTypeInfo instance has been created.

Applies to