What is JSON.stringify().
JSON.stringify()
859
03-Jul-2018
Prakash nidhi Verma
03-Jul-2018JSON.stringify() :
Exchange data from a web server in JSON is common use. When we sending data to a web server,the data has to be a string. Convert a JS object into a string with JSON.stringify().
Stringify a JavaScript Object:
Example:
Stringify a JavaScript Array :
Ex: