Andrew Ducker (andrewducker) wrote,
Andrew Ducker
andrewducker

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



Original post on Dreamwidth - there are comment count unavailable comments there.
Subscribe

  • Interesting Links for 13-06-2021

    How to Mute Twitter's Suggested Tweets on Your Timeline (tags: twitter ) Can't See Pictures in Your Mind? You're Not Alone. And Now We Know…

  • Interesting Links for 12-06-2021

    Sperm DNA methylation epimutation biomarker for paternal offspring autism susceptibility (tags: autism epigenetics genetics ) The Connecticut…

  • Interesting Links for 11-06-2021

    Biden Allies Have Been Meeting With Northern Ireland Groups For Months About The Protocol (tags: NorthernIreland UK Europe USA ) Deliveroo…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 13 comments

  • Interesting Links for 13-06-2021

    How to Mute Twitter's Suggested Tweets on Your Timeline (tags: twitter ) Can't See Pictures in Your Mind? You're Not Alone. And Now We Know…

  • Interesting Links for 12-06-2021

    Sperm DNA methylation epimutation biomarker for paternal offspring autism susceptibility (tags: autism epigenetics genetics ) The Connecticut…

  • Interesting Links for 11-06-2021

    Biden Allies Have Been Meeting With Northern Ireland Groups For Months About The Protocol (tags: NorthernIreland UK Europe USA ) Deliveroo…