https://blog.csdn.net/zhouyingge1104/article/details/83307637 C#项目中使用NewtonSoft.json,报错提示: Can not add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject. 代码如下: //{"code":200,"检测编号":"JC1810231520411","message&qu…
在asp.net core 3.0 中,如果直接在Controller中返回 Jobject 类型,会抛出如下错误: The collection type 'Newtonsoft.Json.Linq.JObject' is not supported. System.NotSupportedException: The collection type 'Newtonsoft.Json.Linq.JObject' is not supported. at System.Text.Json.Jso…