convert json object to string in javascript
by Ramshan[ Edit ] 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"}