<PackageReference Include="System.Text.Json" Version="10.0.0" />

JsonSourceGenerationOptionsAttribute

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 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 bool PropertyNameCaseInsensitive { get; set; }

public bool RespectNullableAnnotations { get; set; }

public bool RespectRequiredConstructorParameters { get; set; }

public bool UseStringEnumConverter { get; set; }

public bool WriteIndented { get; set; }