2014-01-31

andrewducker: (Default)
2014-01-31 10:08 pm

Any suggestions for how to handle Dates in JSON?

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.)