From d4c57dbc36fabb17c5ce1b8d6700eff4299f7642 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:34:43 -0700 Subject: [PATCH 1/5] Fix Copilot FAQs link in migration guide Updated the Copilot FAQs reference to point to GitHub's documentation. --- .../serialization/system-text-json/migrate-from-newtonsoft.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md b/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md index 0dc0a15f12af1..98f2248bd53ad 100644 --- a/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md +++ b/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md @@ -654,7 +654,7 @@ Convert all serialization code in this #solution from Newtonsoft.Json to System. - 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 GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). ## Additional resources From a5317fc3d425fa881c83402775303a13e39ff5dc Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:37:36 -0700 Subject: [PATCH 2/5] Revise Copilot FAQ references in documentation Updated the Copilot FAQ references for clarity. --- .../serialization/system-text-json/customize-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard/serialization/system-text-json/customize-properties.md b/docs/standard/serialization/system-text-json/customize-properties.md index 71306e558d4c3..78d006cb542e0 100644 --- a/docs/standard/serialization/system-text-json/customize-properties.md +++ b/docs/standard/serialization/system-text-json/customize-properties.md @@ -273,7 +273,7 @@ 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 GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). ## See also From 686f0c61d76ec618d7111984f49739ae4da1cf3a Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:38:10 -0700 Subject: [PATCH 3/5] Revise Copilot usage information in deserialization.md Updated the text regarding GitHub Copilot to emphasize reviewing suggestions and provided a link to GitHub's FAQs. --- docs/standard/serialization/system-text-json/deserialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard/serialization/system-text-json/deserialization.md b/docs/standard/serialization/system-text-json/deserialization.md index 20dd8146495a2..759002a356963 100644 --- a/docs/standard/serialization/system-text-json/deserialization.md +++ b/docs/standard/serialization/system-text-json/deserialization.md @@ -99,7 +99,7 @@ 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 GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). ## See also From 4bbf9f269317aed7000f3e521ad33420cb3e8f1b Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:38:44 -0700 Subject: [PATCH 4/5] Revise Copilot information in how-to.md Updated Copilot references and added review note. --- docs/standard/serialization/system-text-json/how-to.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard/serialization/system-text-json/how-to.md b/docs/standard/serialization/system-text-json/how-to.md index babb9fb35a68d..d0cd24267bb0f 100644 --- a/docs/standard/serialization/system-text-json/how-to.md +++ b/docs/standard/serialization/system-text-json/how-to.md @@ -120,7 +120,7 @@ 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 GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). ## See also From c48a78d05adeacb36f016f1c36e5cb3966a0fa7d Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:42:02 -0700 Subject: [PATCH 5/5] fix typo --- .../serialization/system-text-json/customize-properties.md | 6 ++++-- .../serialization/system-text-json/deserialization.md | 4 +++- docs/standard/serialization/system-text-json/how-to.md | 4 +++- .../system-text-json/migrate-from-newtonsoft.md | 6 ++++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/standard/serialization/system-text-json/customize-properties.md b/docs/standard/serialization/system-text-json/customize-properties.md index 78d006cb542e0..9e01189b86e95 100644 --- a/docs/standard/serialization/system-text-json/customize-properties.md +++ b/docs/standard/serialization/system-text-json/customize-properties.md @@ -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; } @@ -273,7 +273,9 @@ change the serialized property name to use underscores between words. Use built-in serialization attributes. ``` -Review Copilot's suggestions before applying them. For more information GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). +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 diff --git a/docs/standard/serialization/system-text-json/deserialization.md b/docs/standard/serialization/system-text-json/deserialization.md index 759002a356963..03cee6a725127 100644 --- a/docs/standard/serialization/system-text-json/deserialization.md +++ b/docs/standard/serialization/system-text-json/deserialization.md @@ -99,7 +99,9 @@ Map property names & values. Provide example output. ``` -Review Copilot's suggestions before applying them. For more information GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). +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 diff --git a/docs/standard/serialization/system-text-json/how-to.md b/docs/standard/serialization/system-text-json/how-to.md index d0cd24267bb0f..aa0e4de0688fe 100644 --- a/docs/standard/serialization/system-text-json/how-to.md +++ b/docs/standard/serialization/system-text-json/how-to.md @@ -120,7 +120,9 @@ The object contains the following fields: FirstName (string), Lastname (string), Provide example output. ``` -Review Copilot's suggestions before applying them. For more information GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). +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 diff --git a/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md b/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md index 98f2248bd53ad..cadca3a4c1e25 100644 --- a/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md +++ b/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md @@ -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 them. For more information GitHub Copilot, see GitHub's [FAQs](https://github.com/features/copilot#faq). +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