<PackageReference Include="System.Text.Json" Version="6.0.10" />

JsonObjectInfoValues<T>

public sealed class JsonObjectInfoValues<T>
Provides serialization metadata about an object type with constructors, properties, and fields.

Provides a mechanism to initialize metadata for a parameterized constructor of the class or struct to be used when deserializing.

public JsonNumberHandling NumberHandling { get; set; }

Specifies how number properties and fields should be processed when serializing and deserializing.

public Func<T> ObjectCreator { get; set; }

Provides a mechanism to create an instance of the class or struct when deserializing, using a parameterless constructor.

public Func<object[], T> ObjectWithParameterizedConstructorCreator { get; set; }

Provides a mechanism to create an instance of the class or struct when deserializing, using a parameterized constructor.

Provides a mechanism to initialize metadata for properties and fields of the class or struct.

public Action<Utf8JsonWriter, T> SerializeHandler { get; set; }

Provides a serialization implementation for instances of the class or struct which assumes options specified by JsonSourceGenerationOptionsAttribute.