Customizing ASP.NET MVC to Serialize Json DateTime in a More Natural Way

If you develop with ASP.NET MVC and use the JsonResult in response from an AJAX call, already had the problem that the DateTime is serilized in the format /Date(Ticks)/. this happens because the JsonResult uses JavaScriptSerializer to serialize the object.

Continuar lendo “Customizing ASP.NET MVC to Serialize Json DateTime in a More Natural Way”

Anúncios
Customizing ASP.NET MVC to Serialize Json DateTime in a More Natural Way