Dealing With Date Serialization And Deserialization In JavaScript

There’s a little (intentional) hole in two of JavaScript’s widely used standard functions, namely in JSON.stringify and JSON.parse and it has to do with JavaScript's Date object. And this hole can sometimes lead so some headache.

We’ll take a look at what this hole actually is, and you’ll learn how you can effectively deal with it.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store