I have read a few pieces of conflicting information regarding MVC 4's out-of-the-box support for JSON.NET
I gathered that MVC is serializing JSON by default using JSON.NET now, however I still have the tell-tale MS date format in my JSON output.
Is there any bootstrapping that still needs to be done?
Example action:
//
// GET: /Test/
[HttpGet]
public JsonResult Test()
{
return Json(new {date = DateTime.Now}, JsonRequestBehavior.AllowGet);
}
results in:
{
"date": "/Date(1355399663508)/"
}