Course contentsShow
JavaScript
Lesson 685 of 2,72316. Object Methods and PatternsPro lesson

ToJSON Method

Implementing toJSON on objects to customize how they serialize with JSON.stringify.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.