JsonConverter Attribute in ASP.NET Core 3.0 Web API

In .NET Core 3.0, a built-in JSON converter is available in namespace System.Text.Json, and ASP.NET Core 3.0 uses this new JSON converter by default. Therefore, when you migrate your Web API from ASP.NET Core 2.x to 3.0, you need to replace JsonConverter attribute with System.Text.Json.

View original article





Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from try {} except

Subscribe now to keep reading and get access to the full archive.

Continue reading