Hi, I’m Tomek.

I'm a Full-Stack Developer who lives in Tokyo.

This blog is a deep dive into a full-stack JavaScript ecosystem. From frontend development through the backend, DevOps, and finally remote work and productivity. All the things I feel really passionate about.

Want to connect?


How to use optional parameters in JSON.stringify and JSON.parse

Creating JSON strings with JSON.stringify or parsing them with JSON.parse is something JavaScript developers do almost on a daily basis. However, there's more to it than meets the eye. In this post we’ll have a detailed look into JSON.stringify’s replacer function, indentation customization, toJSON method, and JSON.parse’s reviver function.