When not to use JSON?
Answers were Sorted based on User's Feedback
Answer / salil
We use JSON mostly when data exchange to our own server.
We should avoid using JSON when exchanging data from partner
sites. As JSON may contain some malicious script. XML would
be a better option here.
| Is This Answer Correct ? | 25 Yes | 7 No |
Answer / abid
JSON is data format used in the transmission of data. It's
used primarily in Javascript AJAX calls.
JSON's structure is simply bracketed name:value pairs.
Because of it's compact nature and simplicity it's a better
structure for the transmission of relatively small datasets
and things that can be grouped into name:value pairs.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / mohammad tareque
When ever you want to send data in array format, then only you
should use JSON.
| Is This Answer Correct ? | 5 Yes | 15 No |
How to cancel the current request in ajax?
What are the benefits of ajax over java applet?
What's new in .Net 3.5
What are the components of the asp.net ajax architecture? : asp.net ajax
What are the types of open() method used for xmlhttprequest?
What is synchronous request in ajax?
What is an ajax request?
What are Ajax applications?
Describe the process and benefits of using the always visible control extender?
What is the role of the scriptmanagerproxy control? : asp.net ajax
How can we assign an object in Java Script?? For Example:- ----------- If i create an object "obj1" var obj1 = Object(); obj1.name = "hari"; and if i want to assign it to two objects "obj2" and "obj3" with different names... obj1.name = "gopi" obj2 = new Object(obj1); obj1.name = "raghu" obj3 = new Object(obj1) Now ob2.name become to "raghu" from "gopi". WHY? how to solve the above problem?
What are the types of send() method used for xmlhttprequest?