<PackageReference Include="System.Text.Json" Version="10.0.0-preview.2.25163.2" />

JsonTypeInfoKind

public enum JsonTypeInfoKind
Describes the kind of contract metadata a JsonTypeInfo specifies.

Type is serialized as a dictionary with key/value pair entries.

Type is serialized as a collection with elements.

None = 0

Type is either a simple value or uses a custom converter.

Object = 1

Type is serialized as an object with properties.