-
What is The JSON(JavaScript Object Notation)? - JavaScript Object Notation(JSON) is a lightweight text-based open standard designed for human-readable data interchange. It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects. And JSON is language-independent, with parsers available for virtually every programming language. Uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,php. The JSON format is often used for serializing and transmitting structured data over a network connection. It is primarily used to transmit data between a server and web application, serving as an alternative to XML
-
Why Use JSON over XML? - Lighter and faster than XML as on-the-wire data format - JSON objects are typed while XML data is typeless - JSON types: string, number, array, boolean while XML date are all string - Data is readily accessible as JSON objects in your JavaScript code versus XML data needed to be parsed and assigned to variables through tedious DOM APIs - Retrieving values is as easy as reading from an object property in your JavaScript code
Last active
September 7, 2016 02:35
-
-
Save tachymetre/2f97977f4167f1682320 to your computer and use it in GitHub Desktop.
UI-101 (Json)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment