System.Text.Json in .NET 11
In session BRK041, dotnet looks at when to use the new serialization capabilities and how they fit into application development.
Features covered
The session focuses on three areas of System.Text.Json in .NET 11:
- Support for C# unions and closed hierarchies, covering these type models in JSON serialization.
- More capable source generation, extending the library’s source-generation capabilities.
- Richer POCO annotations, providing additional ways to describe serialization behavior on plain CLR objects.
The discussion connects these additions to simplifying JSON serialization and choosing where to use them in applications.