System.Text.Json.Serialization.Metadata.JsonPropertyInfo
Provides JSON serialization-related metadata about a property or field.
namespace System.Text.Json.Serialization.Metadata
{
public abstract class JsonPropertyInfo
{
public JsonConverter CustomConverter { get; set; }
public Func<object, object> Get { get; set; }
public Action<object, object> Set { get; set; }
public Func<object, object, bool> ShouldSerialize { get; set; }
public ICustomAttributeProvider AttributeProvider { get; set; }
public JsonObjectCreationHandling? ObjectCreationHandling { get; set; }
public bool IsGetNullable { get; set; }
public bool IsSetNullable { get; set; }
public bool IsExtensionData { get; set; }
public bool IsRequired { get; set; }
public JsonParameterInfo AssociatedParameter { get; }
public Type DeclaringType { get; }
public Type PropertyType { get; }
public string Name { get; set; }
public JsonSerializerOptions Options { get; }
public int Order { get; set; }
public JsonNumberHandling? NumberHandling { get; set; }
}
}