C# Json格式

using LitJson;

//自定义Json类

JsonDataResult jsondata = new JsonDataResult() { Success = false };

 

HttpContext.Current.Response.Write(JsonMapper.ToJson(jsondata));
HttpContext.Current.Response.ContentType = "application/json";
HttpContext.Current.Response.End();

C# Json格式

上一篇:apimonitor


下一篇:WPF深入浅出话资源