protected override JsonResult Json(object data, string contentType, System.Text.Encoding contentEncoding, JsonRequestBehavior behavior) { return new JsonResult() { Data = data, ContentType = contentType, ContentEncoding = contentEncoding, JsonRequestBehavior = behavior, MaxJsonLength = Int32.MaxValue }; }
Showing posts with label json. Show all posts
Showing posts with label json. Show all posts
json javascriptserializer length error
json
var res = (YourClass)Newtonsoft.Json.JsonConvert.DeserializeObject(s, typeof(YourClass));
string jsonString = Newtonsoft.Json.JsonConvert.SerializeObject(o);
Subscribe to:
Posts (Atom)