JsonTypeInfo.Converter Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the JsonConverter associated with the current type.

public System.Text.Json.Serialization.JsonConverter Converter { get; }

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

منتج الإصدارات
.NET 6 (package-provided), 7 (package-provided), 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)