Bewerken

Share via


JsonObjectInfoValues<T> Class

Definition

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

generic <typename T>
public ref class JsonObjectInfoValues sealed
public sealed class JsonObjectInfoValues<T>
type JsonObjectInfoValues<'T> = class
Public NotInheritable Class JsonObjectInfoValues(Of T)

Type Parameters

T

The object type to serialize or deserialize.

Inheritance
JsonObjectInfoValues<T>

Remarks

This API is intended for use by the output of the System.Text.Json source generator and should not be called directly.

Constructors

JsonObjectInfoValues<T>()

Properties

ConstructorAttributeProviderFactory

Provides a delayed attribute provider corresponding to the deserialization constructor.

ConstructorParameterMetadataInitializer

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

NumberHandling

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

ObjectCreator

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

ObjectWithParameterizedConstructorCreator

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

PropertyMetadataInitializer

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

SerializeHandler

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to