21 lines
512 B
C#
21 lines
512 B
C#
namespace Newtonsoft.Json
|
|
{
|
|
/// <summary>
|
|
/// Indicating whether a property is required.
|
|
/// </summary>
|
|
public enum Required
|
|
{
|
|
/// <summary>
|
|
/// The property is not required. The default state.
|
|
/// </summary>
|
|
Default,
|
|
/// <summary>
|
|
/// The property must be defined in JSON but can be a null value.
|
|
/// </summary>
|
|
AllowNull,
|
|
/// <summary>
|
|
/// The property must be defined in JSON and cannot be a null value.
|
|
/// </summary>
|
|
Always
|
|
}
|
|
} |