Table of Contents

Enum Required

Namespace
Newtonsoft.Json
Assembly
Newtonsoft.Json.dll

Indicating whether a property is required.

public enum Required

Fields

AllowNull = 1

The property must be defined in JSON but can be a null value.

Always = 2

The property must be defined in JSON and cannot be a null value.

Default = 0

The property is not required. The default state.