Migrating Newtonsoft To System Text JSON

Migrates .NET projects from Newtonsoft.Json to System.Text.Json, updating package references, code files, and handling API differences. Use when asked to "migrate Newtonsoft", "switch to System.Text.Json", "replace Newtonsoft.Json", or "upgrade JSON library". Triggers for .csproj/.vbproj files referencing Newtonsoft.Json and .cs/.vb files using Newtonsoft.Json namespaces. Also applies when modernizing .NET dependencies or removing third-party JSON libraries.

Microsoft 23b311d 5.8 KB Updated 2.7k repo stars

File contents

microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/libraries/migrating-newtonsoft-to-system-text-json commit 23b311dfc2

Frequently asked questions

npx skillmds@latest add microsoft/migrating-newtonsoft-to-system-text-json