JsonRequiredAttribute public sealed class JsonRequiredAttribute : Attribute Instructs the JsonSerializer to always serialize the member, and to require that the member has a value. Documentation Code public JsonRequiredAttribute()