← All recipes
Moderne licensed

Find Newtonsoft.Json usage in ASP.NET Core

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore3.FindNewtonsoftJsonUsageArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Flags JsonConvert and other Newtonsoft.Json usage. ASP.NET Core 3.0 uses System.Text.Json by default.

Single recipecsharpsearchaspnetcoremigrationjsonProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore3.FindNewtonsoftJsonUsage

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet