Introduction to JSON (JavaScript Object Notation)

 

 

What What is & Why JSON? What is JSON? • Lightweight data-interchange format > Compared to XML • Simple format > Easy for humans to read and write > Easy for machines to parse and generate • JSON is a text format > Programming language independent > Uses conventions that are familiar to programmers of the Cfamily of languages, including C, C++, C#, Java, JavaScript, Perl, Python. 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, > XML data are all string • Native data form for JavaScript code > Data is readily accessible as JSON objects in your JavaScript code vs. 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 [via]
http://www.javapassion.com/ajax/JSON.pdf...

Rating: 0/10

 

 

 

Related Files

 

 
Sponsored Links
Free Download Toyota Manual, Guide, Instructions, available in PDF ebooks format.

Rate this Document

ADS

 

Tag Clouds

 

Last Download

 

BookShelf