I have an object that I'm serializing to string with JavaScriptSerializer. I've already registered a custom converter to omit null properties, but I also want to change how Date properties are rendered.
I want the date property to appear something like
{
DateProperty = new Date(2019, 0, 31)
}
Instead of:
{
DateProperty = "\/Date(1483776000000)\/";
}
Is it possible to customize how the JavaScriptSerializer serializes DateTime, or is there another serializer? I'm hoping to not hve to go to a 3rd party serializer.