JSON : basic introduction and references
Used as a lightweight data sharing format in between server and web application, and also in between web applications.
- This is called as fat-free version of XML :D.
- Easy read / write format.
- A collection of “key” : “value” pairs.
- This can be represented as object, dictionary, hash table, keyed list or associated arrays.
As compare to XML, json
- Don’t have tags, but have hierarchy structure with some easy notations.
- Can be parsed easily.
Key can be of any name [String] enclosed in double quotes “”
Value can be represented as any one of the following data type like Associated arrays enclosed in square brackets 
"url" : "http:www.qavalidation.com", //object - key:value pair
"title" : "Software QA & Validation",
"description" : "About software QA and Vaildation.",
"categories" : [ "Selenium", "Testing","javaBasics" ] //values as an array
- Download standalone from codeplex site..
- For online view, I found http://www.jsoneditoronline.org/ is interesting.
- There are even browser add-ons you can try.
Now a days most server responses comes with json format upon web application request, we can write programe to read the json data and can validate the details……
Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our facebook:qavalidation.com, Thanks!