JsonObjectInfoValues<T>
Provides serialization metadata about an object type with constructors, properties, and fields.
using System.Runtime.CompilerServices;
namespace System.Text.Json.Serialization.Metadata
{
public sealed class JsonObjectInfoValues<[System.Runtime.CompilerServices.Nullable(2)] T>
{
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public Func<T> ObjectCreator {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
set;
}
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
public Func<object[], T> ObjectWithParameterizedConstructorCreator {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
set;
}
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
public Func<JsonSerializerContext, JsonPropertyInfo[]> PropertyMetadataInitializer {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1,
1
})]
set;
}
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
public Func<JsonParameterInfoValues[]> ConstructorParameterMetadataInitializer {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
set;
}
public JsonNumberHandling NumberHandling { get; set; }
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
public Action<Utf8JsonWriter, T> SerializeHandler {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
set;
}
}
}