Enum Required
Indicating whether a property is required.
Namespace: Bayat.Json
Assembly: Bayat.Json.Runtime.dll
Syntax
public enum Required
Fields
| Name | Description |
|---|---|
| AllowNull | The property must be defined in JSON but can be a null value. |
| Always | The property must be defined in JSON and cannot be a null value. |
| Default | The property is not required. The default state. |
| DisallowNull | The property is not required but it cannot be a null value. |