JavaScriptSerializer serializer = new JavaScriptSerializer();
str = serializer.Serialize(data);
HttpResponseMessage result = new HttpResponseMessage
{ Content = new StringContent(str, Encoding.GetEncoding("UTF-8"), "application/json") };
返回json格式数据
最新推荐文章于 2023-09-13 19:17:30 发布