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