How can I return a Dictionary<string, Object> as JsonResult, AND get the proper result in JavaScript?
I'm constructing my JsonResult in Controller by adding some extra information to an already existing JsonResult (returned from a different method). In order to add more properties, I converted the initial JsonResult into a Dictionary: IDictionary<string, object> wrapper = (IDictionary<string, object>)new System.Web.Routing.RouteValueDictionary(json.Data); Then I just add data by writing wrapper["..."] = "value" . The method returns a new JsonResult, with wrapper as .Data: new JsonResult() { wrapper, JsonRequestBehavior.AllowGet }; and that's where the troubles start; while communication