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

JsonObjectInfoValues<T>

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

Provides a delayed attribute provider corresponding to the deserialization constructor.

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; }

Gets or sets an object that specifies how number properties and fields should be processed when serializing and deserializing.

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

Gets or sets a mechanism to create an instance of the class or struct using a parameterless constructor during deserialization.

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

Gets or sets a mechanism to create an instance of the class or struct using a parameterized constructor during deserialization.

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

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

Gets or sets a serialization implementation for instances of the class or struct that assumes options specified by JsonSourceGenerationOptionsAttribute.