programplug Logo




JSON Introduction


JSON (JavaScript Object Notation) is lightweight data-interchange format.JSON can understand by any one who have basic knowledge of any programming.It is based on a subset of the JavaScript Programming Language.
JSON is easy to read and write, language independent, supports array, object, string, number and values.


JSON use two structure

» A collection of name or value pairs.
» An ordered list of values.

"key" : "value"
{"student":[  
  {"name":"Rohit", "email":"rohit123kumar@gmail.com"},  
  {"name":"Monu", "email":"monug@gmail.com"},  
  {"name":"Deepak", "email":"deepak@gmail.com"}  
]}

» We can also convert any JSON received from the server into JavaScript objects.
» We Can Sending Data
» We Can Receiving Data
» We Can Storing Data


Convert JSON into a JavaScript object or JavaScript object To JSON


JSON Example

{  
  "name":"Rohit",
  "options":{xmlMode:true},
  "file":"new_file.xml",
  "expected":[
  {
	"day":"monday",
	"data"[
	  "xml",
	  "xml version=\"1.0\"?"
	]
  },
  {
    "day":"tuesday",
	"data"[
	  "\n"
	]  
  },
  {
    "day":"sunday",
	"data"[
	  "newdt.xml"
	]  
  }
]
}

» JSON can be use with a wide variety of programming languages like JavaScript, PHP, Python, Ruby and Java.
» JSON easily embed with any language.
» Many developer prefer JSON over XML.





Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
0000000000000

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy