24.10.2014 Views

Hafez Rouzati

Hafez Rouzati

Hafez Rouzati

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JSON<br />

// key-value pair provides “dictionary” style behavior<br />

var jsonInfo = { "key" : "value" };<br />

// nested dictionaries<br />

var multiJson = { "id" : "someString",<br />

"userData" : { "name" : "Bob", "email" : "bob@bob.com" }};<br />

// dictionaries as array elements<br />

var jsonArray = [ { "first Item" : "value"},<br />

{ "second item" : "someOtherValue" } ];

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!