Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Use built-in serialization attributes.
Here's a more complete version of the example that includes a simple class.

```copilot-prompt
Take this C# class:
Take this C# class:
public class WeatherForecast
{
public DateTime Date { get; set; }
Expand All @@ -273,7 +273,9 @@ change the serialized property name to use underscores between words.
Use built-in serialization attributes.
```

GitHub Copilot is powered by AI, so surprises and mistakes are possible. For more information, see [Copilot FAQs](https://aka.ms/copilot-general-use-faqs).
Review Copilot's suggestions before applying them.

For more information about GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq).

## See also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ Map property names & values.
Provide example output.
```

GitHub Copilot is powered by AI, so surprises and mistakes are possible. For more information, see [Copilot FAQs](https://aka.ms/copilot-general-use-faqs).
Review Copilot's suggestions before applying them.

For more information about GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq).

## See also

Expand Down
4 changes: 3 additions & 1 deletion docs/standard/serialization/system-text-json/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ The object contains the following fields: FirstName (string), Lastname (string),
Provide example output.
```

GitHub Copilot is powered by AI, so surprises and mistakes are possible. For more information, see [Copilot FAQs](https://aka.ms/copilot-general-use-faqs).
Review Copilot's suggestions before applying them.

For more information about GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq).

## See also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,14 +647,16 @@ Here's an example prompt you can use in Visual Studio Copilot Chat to migrate a

```copilot-prompt
Convert all serialization code in this #solution from Newtonsoft.Json to System.Text.Json, using the recommended approach for my current .NET version.
- Update attributes and properties, including rules for skipping or renaming during serialization
- Update attributes and properties, including rules for skipping or renaming during serialization
- Ensure polymorphic serialization continues to work correctly
- Respect existing custom converters and project-level settings (for example, from the Utilities folder or appsettings.json)
- Update related unit tests and highlight any potential breaking changes
- Generate a migration summary
```

Review Copilot's suggestions before applying. For more information, see [Copilot FAQs](https://aka.ms/copilot-general-use-faqs).
Review Copilot's suggestions before applying them.

For more information about GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq).

## Additional resources

Expand Down
Loading