Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Text.​Json.​Serialization.​Metadata.​JsonParameterInfoValues

Assembly: System.Text.Json

Inheritance: object → JsonParameterInfoValues

Provides information about a constructor parameter required for JSON deserialization.

Properties

public object
DefaultValue
Gets or sets the default value of the parameter.
public bool
HasDefaultValue
Gets or sets a value that specifies whether a default value was specified for the parameter.
public bool
IsMemberInitializer
Whether the parameter represents a required or init-only member initializer.
public bool
IsNullable
Whether the parameter allows <see langword="null" /> values.
public string
Name
Gets or sets the name of the parameter.
public Type
ParameterType
Gets or sets the type of the parameter.
public int
Position
Gets or sets the zero-based position of the parameter in the formal parameter list.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object