JsonSourceGenerationOptionsAttribute public sealed class JsonSourceGenerationOptionsAttribute : JsonAttribute Documentation Code public bool AllowDuplicateProperties { get; set; } public bool AllowOutOfOrderMetadataProperties { get; set; } public bool AllowTrailingCommas { get; set; } public Type[] Converters { get; set; } public int DefaultBufferSize { get; set; } public JsonIgnoreCondition DefaultIgnoreCondition { get; set; } public JsonKnownNamingPolicy DictionaryKeyPolicy { get; set; } public JsonSourceGenerationMode GenerationMode { get; set; } public bool IgnoreReadOnlyFields { get; set; } public bool IgnoreReadOnlyProperties { get; set; } public bool IncludeFields { get; set; } public char IndentCharacter { get; set; } public int IndentSize { get; set; } public int MaxDepth { get; set; } public string NewLine { get; set; } public JsonNumberHandling NumberHandling { get; set; } public JsonObjectCreationHandling PreferredObjectCreationHandling { get; set; } public bool PropertyNameCaseInsensitive { get; set; } public JsonKnownNamingPolicy PropertyNamingPolicy { get; set; } public JsonCommentHandling ReadCommentHandling { get; set; } public JsonKnownReferenceHandler ReferenceHandler { get; set; } public bool RespectNullableAnnotations { get; set; } public bool RespectRequiredConstructorParameters { get; set; } public JsonUnknownTypeHandling UnknownTypeHandling { get; set; } public JsonUnmappedMemberHandling UnmappedMemberHandling { get; set; } public bool UseStringEnumConverter { get; set; } public bool WriteIndented { get; set; } public JsonSourceGenerationOptionsAttribute() public JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults defaults)