I have a .asmx web service that communicates using JSON. From it I simply return objects which ASP.NET magically serializes into JSON.
The only issue is that dates are serialized like this:
"myDate": "\/Date(1388332525)\/"
And I need them to be serialized in an ISO8601 format, like this:
"myDate":"\/Date(2012-09-19T03:27:14)\/"
Using ASP.NET's Web API is not an option at this point, so my question is this: Is there a way to configure the default JSON serializer for ASP.NET web services in such a way that it will return ISO8601 dates?