JsonCollectionInfoValues<TCollection>
Provides serialization metadata about a collection type.
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace System.Text.Json.Serialization.Metadata
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
[EditorBrowsable(EditorBrowsableState.Never)]
public sealed class JsonCollectionInfoValues<TCollection>
{
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public Func<TCollection> ObjectCreator {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
set;
}
public JsonTypeInfo KeyInfo { get; set; }
[System.Runtime.CompilerServices.Nullable(1)]
public JsonTypeInfo ElementInfo {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
[System.Runtime.CompilerServices.NullableContext(1)]
set;
}
public JsonNumberHandling NumberHandling { get; set; }
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
public Action<Utf8JsonWriter, TCollection> SerializeHandler {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
1
})]
set;
}
}
}