public ActionResult GetLargeJsonResult() { return new ContentResult { Content = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue }.Serialize(myBigdata), ContentType = "application/json" }; }
原文:https://www.cnblogs.com/liyangLife/p/9360091.html