DEV Community

Adam Crockett
Adam Crockett

Posted on

One min tips: JSON second parameter

Did you know that many of your favourite and commonly used functions such as JSON.stringify and JSON.parse have a second parameter, for these two, it's supposed to be a function to intercept the value of and modify or even hide it in stringification or parsing.

Discussion (0)