diff --git a/aspnetcore/web-api/advanced/formatting.md b/aspnetcore/web-api/advanced/formatting.md index 26a8d93f4f..395526dc02 100644 --- a/aspnetcore/web-api/advanced/formatting.md +++ b/aspnetcore/web-api/advanced/formatting.md @@ -146,7 +146,7 @@ public IActionResult Get() ### Add Newtonsoft.Json-based JSON format support -Prior to ASP.NET Core 3.0, the default used JSON formatters implemented using the `Newtonsoft.Json` package. In ASP.NET Core 3.0 or later, the default JSON formatters are based on `System.Text.Json`. Support for `Newtonsoft.Json` based formatters and features is available by installing the [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package and configuring it in `Startup.ConfigureServices`. +Prior to ASP.NET Core 3.0, the default used JSON formatters implemented using the `Newtonsoft.Json` package. In ASP.NET Core 3.0 or later, the default JSON formatters are based on `System.Text.Json`. Support for `Newtonsoft.Json` based formatters and features is available by installing the [`Microsoft.AspNetCore.Mvc.NewtonsoftJson`](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.NewtonsoftJson/) NuGet package and configuring it in `Startup.ConfigureServices`. [!code-csharp[](./formatting/3.0sample/StartupNewtonsoftJson.cs?name=snippet)]