Showing posts with label JSON. Show all posts
Showing posts with label JSON. Show all posts

Thursday, October 29, 2015

What is JSON?

JSON

- JSON stands for Javascript Object Notation.
- It's a message format, used for interchanging data.
- JSON is based on the Javascript.
- JSON is lightweight than XML and modern webservices use JSON to exchange data.
- JSON can store data in Name/Value pairs and Ordered List.

Here is a simple example of JSON. 

{"employees":[
    {"firstName":"John""lastName":"Doe"},
    {"firstName":"Anna""lastName":"Smith"},
    {"firstName":"Peter""lastName":"Jones"}
]}