Explore how you can connect to various endpoints on the web and get JSON data to use on your website.
JSON data and JavaScript Objects
JavaScript Object Notation (JSON) is an open-standard file format or data interchange format that uses human-readable text to transmit data objects consisting of attribute-value pairs and array data types. It is a very common data format, with a diverse range of applications.
JSON is a language-independent data format. It was derived from JavaScript, but many modern programming languages include code to generate and parse JSON format data. The official Internet media type for JSON is application/JSON. JSON filenames use the extension .json.
AJAX (“Asynchronous JavaScript + XML”) is a set of web development techniques using many web technologies on the clientside to create asynchronous web applications. With Ajax, web applications can send and retrieve data from a server asynchronously (in the background) without interfering with the display and behavior of the existing page. By decoupling the data interchange layer from the presentation layer, Ajax allows web pages and, by extension, web applications, to change content dynamically without the need to reload the entire page.
In practice, modern implementations commonly utilize JSON instead of XML.
There are no reviews yet.