Skip to content

Conversation

@gewarren
Copy link
Contributor

@gewarren gewarren commented Nov 13, 2025

Copilot AI review requested due to automatic review settings November 13, 2025 21:09
@gewarren gewarren requested a review from a team as a code owner November 13, 2025 21:09
@dotnetrepoman dotnetrepoman bot added this to the November 2025 milestone Nov 13, 2025
@gewarren gewarren enabled auto-merge (squash) November 13, 2025 21:09
Copilot finished reviewing on behalf of gewarren November 13, 2025 21:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the System.Text.Json source generation documentation for freshness, removing outdated version-specific information and modernizing code examples to use current .NET patterns and style guidelines.

Key changes:

  • Updated documentation date and removed .NET version requirements that are no longer relevant
  • Modernized code examples with collection expressions and simplified API calls
  • Consolidated and simplified explanatory text following Markdown style guidelines

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/standard/serialization/system-text-json/source-generation.md Updated metadata date, removed version-specific language, simplified text to follow style guidelines (using "might" instead of "may", "run time" instead of "runtime"), and clarified mode names
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SystemTextJsonSamples.csproj Updated target framework from net9.0 to net10.0
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/SerializeOnlyWithOptions.cs Reformatted object initializer to use multiple lines for better readability
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/Program.cs Removed unused imports and deleted reference to removed JsonSerializerOptionsExample
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/ObjectProperties.cs Modernized collection initialization using collection expression syntax and removed unused import
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/MetadataOnlyNoOptions.cs Removed unnecessary null-forgiving operators
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/JsonSerializerOptionsExample.cs Deleted entire file (no longer referenced in documentation)
docs/standard/serialization/system-text-json/snippets/source-generation/csharp/BothModesNoOptions.cs Simplified context class formatting, leveraged type inference in generic method calls, and streamlined serialization/deserialization examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant