I am consuming a service created using Jackson (JAX-RS JSON processor), which appears to be very popular in the Java community. The Jackson default date format is epoch milliseconds as a number. I don't control the service so cannot change the service to use a non-default format. Sample:
{ "myDate": 1234567890123 }
RestKit automatically maps ISO 8601 and
ASP.NET JSON date formats.
ASP.NET uses the same epoch milliseconds number but encloses it, presumably to allow eval.
{ "myDate": "\/Date(1234567890123)\/" }
This must be a common issue. Before I jump in to figuring out how to map this myself, is there a best practice?