System.Text.Json.Serialization.Metadata Namespace

Classes

DefaultJsonTypeInfoResolver

Defines the default, reflection-based JSON contract resolver used by System.Text.Json.

JsonCollectionInfoValues<TCollection>

Provides serialization metadata about a collection type.

JsonMetadataServices

Provides helpers to create and initialize metadata for JSON-serializable types.

JsonObjectInfoValues<T>

Provides serialization metadata about an object type with constructors, properties, and fields.

JsonParameterInfoValues

Provides information about a constructor parameter required for JSON deserialization.

JsonPolymorphismOptions

Defines polymorphic configuration for a specified base type.

JsonPropertyInfo

Provides JSON serialization-related metadata about a property or field.

JsonPropertyInfoValues<T>

Provides serialization metadata about a property or field.

JsonTypeInfo

Provides JSON serialization-related metadata about a type.

JsonTypeInfo<T>

Provides JSON serialization-related metadata about a type.

JsonTypeInfoResolver

Contains utilities and combinators acting on IJsonTypeInfoResolver.

Structs

JsonDerivedType

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

Interfaces

IJsonTypeInfoResolver

Used to resolve the JSON serialization contract for requested types.

Enums

JsonTypeInfoKind

Describes the kind of contract metadata a JsonTypeInfo specifies.