JsonPropertyInfoValues<T>
Provides serialization metadata about a property or field.
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace System.Text.Json.Serialization.Metadata
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
[EditorBrowsable(EditorBrowsableState.Never)]
public sealed class JsonPropertyInfoValues<[System.Runtime.CompilerServices.Nullable(2)] T>
{
public bool IsProperty { get; set; }
public bool IsPublic { get; set; }
public bool IsVirtual { get; set; }
public Type DeclaringType { get; set; }
public JsonTypeInfo PropertyTypeInfo { get; set; }
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public JsonConverter<T> Converter {
[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,
2
})]
public Func<object, T> Getter {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
2
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
2
})]
set;
}
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
2
})]
public Action<object, T> Setter {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
2
})]
get;
[param: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1,
2
})]
set;
}
public JsonIgnoreCondition? IgnoreCondition { get; set; }
public bool HasJsonInclude { get; set; }
public bool IsExtensionData { get; set; }
public JsonNumberHandling? NumberHandling { get; set; }
public string PropertyName { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public string JsonPropertyName {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
[System.Runtime.CompilerServices.NullableContext(2)]
set;
}
}
}