Skip to content

Commit a824b72

Browse files
committed
more
1 parent 954c40d commit a824b72

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/core/whats-new/dotnet-9/libraries.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,8 @@ enum MyEnum
562562
}
563563
```
564564

565+
For more information, see [Custom enum member names](../../../standard/serialization/system-text-json/customize-properties.md#custom-enum-member-names).
566+
565567
### Stream multiple JSON documents
566568

567569
<xref:System.Text.Json.Utf8JsonReader?displayProperty=nameWithType> now supports reading multiple, whitespace-separated JSON documents from a single buffer or stream. By default, the reader throws an exception if it detects any non-whitespace characters that are trailing the first top-level document. You can change this behavior using the <xref:System.Text.Json.JsonReaderOptions.AllowMultipleValues> flag.

docs/standard/serialization/system-text-json/source-generation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ Notice that the enum doesn't have the <xref:System.Text.Json.Serialization.JsonC
360360

361361
:::code language="csharp" source="snippets/how-to/csharp/WeatherForecast.cs" id="WFWithPrecipEnumNoConverter":::
362362

363+
### Custom enum member names
364+
365+
Starting in .NET 9, you can customize enum member names using the [JsonStringEnumMemberName attribute](xref:System.Text.Json.Serialization.JsonStringEnumMemberNameAttribute). For more information, see [Custom enum member names](customize-properties.md#custom-enum-member-names).
366+
363367
:::zone-end
364368

365369
## See also

0 commit comments

Comments
 (0)