Welcome to JSON Programming Tutorial. We have designed the Tutorial in such a way that you can learn JSON in just 30 to 40 minutes.
Initial lessons includes the basics for JSON followed by Implementation of JSON in various Programming Languages.
You can skip sections that are lot relevant to you (if you are a java developer then JSON with PHP or Python will be not important to you)
We have also incorporated as many examples as possible so that you get a good hold of JSON.
Further you may find Questions related to troubleshooting and common issues that you may face while working with JSON.
Introduction to JSON
JSON is an Open source, light-weight data-interchange format.
JSON is an alternative to XML.
JSON is used to transmit data between sever and web application.
JSON is language independent just as XML.
JSON Internet media type is application/json.
JSON has a file extension of .json.
JSON format was introduced by Douglas Crockford.
It was State Software Inc. that named the JSON acronym.
Advantage of JSON over XML.
JSON is easy to read compared to XML.
JSON is more compact than XML and hence is loaded quickly.
JSON is more flexible compared to XML.
JSON is faster compared to XML.
Knowledge of HTML would be great.
Knowledge of XML would be advantageous.
More over JSON is human readable and easy to understand format and learn.
Many API/Webservice now-a-days return data in JSON object format so it is important that you know how to handle json data.
If you want to learn more about JSON standards read : RFC 7159 and EMAC-404.
Table of Contents