Find Newtonsoft.Json usage

Proprietary

Finds usages of Newtonsoft.Json types (JObject, JArray, JToken, JsonConvert) that should be migrated to System.Text.Json or explicitly preserved via Microsoft.AspNetCore.Mvc.NewtonsoftJson in ASP.NET Core 3.0+.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindNewtonsoftJson
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.FindNewtonsoftJson

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.