public HttpResponseMessage RetJson()
{
var resp = new HttpResponseMessage { Content = new StringContent("字符串", System.Text.Encoding.UTF8, "application/json") };
return resp;
}
.net Web Api 返回json字符串出现双引号
最新推荐文章于 2024-09-01 16:56:55 发布