1

在 ASP.NET MVC 中,我可以超出 JSON 的最大长度吗?

var jsonResult = Json(data, JsonRequestBehavior.AllowGet);
jsonResult.MaxJsonLength = int.MaxValue;
return jsonResult;

我这里的数据大于最大值。如果不是,我如何将数据发送给方法的调用者?

4

0 回答 0