2 years ago

#361913

test-img

Rahul Raj

.Net 5 Web Api, default System.Text.Json serialization is replaced by Newtonsoft.Json without specifying in startup.cs

How to avoid System.Text.Json to be replaced by Newtonsoft.Json, when send response from controller. When i testing my application i found json serialized by Newtonsoft.Json without specifying any where.

json

asp.net-core

asp.net-core-webapi

.net-5

asp.net-core-5.0

0 Answers

Your Answer

Accepted video resources