您的位置:首页 > Web前端 > JavaScript

.net Web Api 返回json字符串出现双引号

2017-01-11 13:47 1316 查看
public HttpResponseMessage RetJson()
{
var resp = new HttpResponseMessage { Content = new StringContent("字符串", System.Text.Encoding.UTF8, "application/json") };
return resp;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  .net web api