Very simple question. Hope its easy...
Dictionary<int, string> dict = PLCCommunicator.getVarForSchakelingen("iOffsetSun", plc);
return Json(new { succeeded = true, dict }, JsonRequestBehavior.AllowGet);
Is there a way in which the dict can easily be converted? Something like dict.ToJson()
My controller returns a JsonResult
...