Find DataContractJsonSerializer usage (control-char escaping change)
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindDataContractJsonSerializerEscapingArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetDataContractJsonSerializer control-character escaping becomes ECMAScript V6/V8-compatible when retargeting to .NET Framework 4.7 (Switch.System.Runtime.Serialization.DoNotUseECMAScriptV6EscapeControlCharacter to revert). Review consumers that depend on the old escaping.
Single recipeserializationsearchdotnetnet-frameworkProprietary
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.NetFramework.FindDataContractJsonSerializerEscapingIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet