Dealing With Date Serialization And Deserialization In JavaScript

Oliver Jumpertz
5 min readJan 24, 2022

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.

--

--