Posts

Showing posts with the label json

JSON Tutorial

Image
Learn JSON      What is JSON? JSON is a format for storing data and exchanging data. JSON is often used to sent data from a server to a web page.   Why JSON:   JSON is widely used in data transfer from source to destination. It is a common format that can be understood by heterogeneous environments. It provides many features, some of them are stated here. JSON stand for JavaScript Object Notation Lightweight data transporting format. Language independent. Text-based and human-readable. It is "self-describing" and easy to understand. Syntax: VAR variablename = { "key1" : " value1 " , "key2" : " value2 " , "key3" : " value3 " }; In JSON, all keys   must be strings, written with double quotation marks: Example: ' { "name" : "John" , "age" : 30 , "email" : "john@example.com" , "phone" : "12341234" } ' ;     JSO...