JSON.stringify(value, replacer, space)
Store the JSON object into the variable.
Pass that variable in the JSON.stringify() as an argument.
It will return the value which is to be converted into a JSON string.
Please Login to comment...