Web API change JSON parser
问题 I am trying to change the JSON parser in my web API project. I have followed the following tutorials: https://docs.microsoft.com/en-us/aspnet/core/web-api/advanced/custom-formatters?view=aspnetcore-2.2 https://www.youtube.com/watch?v=tNzgXjqqIjI https://weblog.west-wind.com/posts/2012/Mar/09/Using-an-alternate-JSON-Serializer-in-ASPNET-Web-API I now have the following code: public class MyJsonFormatter : MediaTypeFormatter { public MyJsonFormatter() { base.SupportedMediaTypes.Add(new