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