•To convert array into String.
•To avoid this, convert your functions into strings before running the JSON.stringify() function.
•Date Objects are converted into strings
•When sending data to a web server, the data has to be a string.
•It is also used while Storing data in local storage of browsers.
•You should avoid using functions in JSON, the functions will lose their scope, and you would have to use eval() to convert them back into functions.
•Date objects are not allowed in JSON. If you need to include a date, write it as a string.
Please check below video for more detailed explaination with the help of examples:
Let me know in comments section of video, if you have any questions or doubts.