Friday, February 02, 2018

What does JSON.stringify() and JSON.parse() do?

JSON.stringify() takes a JSON Object as an argument and converts it to a JSON string. On the other hand JSON.parse() takes a JSON String as an argument and converts it to an Object.

Example of JSON.parse() here:
http://hodentekhelp.blogspot.com/2018/02/what-does-jsonparse-do.html

Example of JSON.stringify() here:
http://hodentekhelp.blogspot.com/2018/02/what-does-jsonstringify-do.html

No comments:

DMCA.com Protection Status