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 Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit 23b311dfc2

Frequently asked questions

npx get-skill add microsoft/migrating-newtonsoft-to-system-text-json