convert json object to string in javascript

by Ramshan 2015-01-23 18:58:55

while returning json array in js, it will be returned as a json object. to convert the json object into string, use the json stringify() as,
JSON.stringify(response)
this will return the result as a string.
for eg,
{"res","1"}
5121
like
0
dislike
0
mail
flag

You must LOGIN to add comments