JsonTypeInfo.Type Property

Definition

Gets the Type for which the JSON serialization contract is being defined.

C#
public Type Type { get; }

Property Value

Applies to

Product Versions
.NET 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)