Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
45
rated 0 times [  52] [ 7]  / answers: 1 / hits: 197385  / 12 Years ago, sun, april 22, 2012, 12:00:00

Possible Duplicate:

Convert JS object to JSON string






I have a JSON object in JS, and I would like to convert it to string. Is it a function for this?



Thanks in advance,


More From » json

 Answers
1

JSON.stringify()




Convert a value to JSON, optionally replacing values if a replacer function is specified, or optionally including only the specified properties if a replacer array is specified.



[#86071] Saturday, April 21, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
yosefleod

Total Points: 113
Total Questions: 100
Total Answers: 115

Location: Egypt
Member since Tue, May 3, 2022
2 Years ago
;