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();