1.

How is JSON related to AJAX?

Answer»

JSON stands for JavaScript Object Notation. It is an open standard data interchange format that LEVERAGES human-readable text. It allows transmitting data OBJECTS having attribute-value in pairs & arrays. Such a file format for data sharing is both human and machine understandable. JSON is a faster alternative to XML. Although AJAX uses XML, there is also a possibility where AJAX can use JSON for exchanging data between a browser and a server. The JSON format is easy to understand, fast and supports strings, values, numbers, and objects. Due to its benefit and ease of use, many DEVELOPERS PREFER to use JSON for passing AJAX-based UPDATES within a client and a server.



Discussion

No Comment Found