This section describes how to encode/decode JSON in Ajax.
AJAX stands for Asynchronous JavaScript and XML. This programming construct is used on the client side as a group of interrelated web development techniques so as to create asynchronous web applications. Web applications can send and retrieve data from a server asynchronously in the background. Mostly JSON is used to pass AJAX updates between the client and the server. Data in AJAX is usually stored in the JSON format on the web server. AJAX together with JavaScript can work on these JSON files parse them, store the parsed values for further processing before displaying them on the webpage. Further, AJAX make assignment of data to the DOM elements in the webpage and this way they are displayed on the website.