Any suggestions for how to handle Dates in JSON?

Jan 31, 2014 22:08

Because JSON doesn't support a standard date format I'm going to have to serialise/deserialise to _something_. A quick google has found me numerous different approaches - anyone care to point me at a specific best practice?

(If it helps, the server is Java and serialises via GSON. But that allows me to override with any formatting I like for a given type, so I can happily adjust to whatever makes most sense.)

Original post on Dreamwidth - there are
comments there.
Previous post Next post
Up