JsonIncludeAttribute
Indicates that the member should be included for serialization and deserialization.
namespace System.Text.Json.Serialization
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class JsonIncludeAttribute : JsonAttribute
{
}
}