affiliate_link

Friday, June 8, 2012

JSON Q&A

1. What is JSON?
JSON is a light weight, text based (human readable) open format used for data transformation.
JSON is language independent with parsers available in many languages
JSON is often used for serializing and transmitting structured data over a network connection.
Hence it is used as an alternative to XML    

2. Why JSON over XML?
 JSON
 (i)  Is lighter and faster than xml
 (ii) Objects are typed
 (iii) Data types in JSON can be number, string, bool, arrays whereas in xml only strings


3. How is JSON structured?
JSON is structured as a collection of name value pairs



No comments: