JsonRequiredAttribute
Instructs the JsonSerializer to always serialize the member, and to require that the member has a value.
using System;
namespace Newtonsoft.Json
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class JsonRequiredAttribute : Attribute
{
}
}