InterviewSolution
Saved Bookmarks
| 1. |
The property of JSON() method is __________(a) it can be invoked manually as object.JSON()(b) it will be automatically invoked by the compiler(c) it is invoked automatically by the JSON.stringify() method(d) it cannot be invoked in any form |
|
Answer» The correct choice is (c) it is invoked automatically by the JSON.stringify() method Explanation: A common use of JSON is to exchange data to/from a web server. When sending data to a web server, the data has to be a string. In that case json.strigify() is used to convert a javascript object into a string. |
|