What is the role of JSON.stringify ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1.  What is the role of JSON.stringify ?Json
Anonymous
Ans.  JSON.stringify() turns an object into a JSON text and stores that JSON text in a string. 

So If we stringfy above notation , it will become

{"name":"xyz","gender":"male";"age":30}

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     json   JSON.stringify      intermediate        rare


Related Questions

  What are the benefits of JSON over XML ?
  What is JSON ?
  Which function is used to convert a JSON text into an object ?
  Which data types are supported by JSON ?
  Which markup languages can be used in restful web services ?
 If we have to specify a collection of a particular information like List of addresses, How can we represent that in a JSON ?
 Can you explain JSON specification ?
 Can comments be added in JSON ?
 How to parse nested json object ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: