A common use of JSON is to exchange data to/from a web server.When sending data to a web server, the data has to be a string. Convert a JavaScript object into a string with JSON.stringify().
In this video of JSON Series you will learn:
How to Stringify a JavaScript Object.
How to Convert a JavaScript object into a string with JSON.stringify() Method.
How to Stringify a JavaScript Array.