JsonParameterInfoValues
Provides information about a constructor parameter required for JSON deserialization.
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace System.Text.Json.Serialization.Metadata
{
[NullableContext(1)]
[Nullable(0)]
[EditorBrowsable(EditorBrowsableState.Never)]
public sealed class JsonParameterInfoValues
{
public string Name { get; set; }
public Type ParameterType { get; set; }
public int Position { get; set; }
public bool HasDefaultValue { get; set; }
[Nullable(2)]
public object DefaultValue {
[NullableContext(2)]
get;
[NullableContext(2)]
set;
}
public bool IsNullable { get; set; }
public bool IsMemberInitializer { get; set; }
}
}