Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
docu...
Typing Speed
Week

Target Achieved

1

35

2
3

29
Jobs Applied
#

Company

Designation

Applied Date

1

Endeavour

Banglore

13/9/2013

2
3

Current Status
JSON

Sarbazali.N
Sarbazalin@gmail.com
www.facebook.com/sarbaza
li.sarbaz
twitter.com/sarbaz_ali
in.linkedin.com/in/sarbaz...
What is JSON?
• Stands for JavaScript Object Notation
• Is lightweight format for exchanging data
between the client and s...
Why JSON?
•
•
•
•
•

JSON is recognized natively by JavaScript
Simple format
The easiness of reading
The easiness of using...
JSON Syntax
• For objects start the object with “{“ and end it
with “}”
• For members (properties), use pairs of string :
...
Example
 In JSON :var myFirstJSON =
{
"firstName" : "John",
"lastName" : "Doe",
"age"

: 23

};

 In XML :<myFirstJSON>
...
JSON Parser
• You can convert JSON object into JSON text
• Object to Text Conversion
var myJSONText = myObject.toJSONStrin...
Accessing Data in JSON
• The most common way to access JSON data is
through dot notation.
var myObject = { 'color' : 'blue...
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.

Thanks in advance.
www.baabtra.c...
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

Start up Vil...
Json
Upcoming SlideShare
Loading in...5
×

Json

288
-1

Published on

json

Published in: Education, Technology, Travel
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
288
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Json

  1. 1. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  2. 2. Typing Speed Week Target Achieved 1 35 2 3 29
  3. 3. Jobs Applied # Company Designation Applied Date 1 Endeavour Banglore 13/9/2013 2 3 Current Status
  4. 4. JSON Sarbazali.N Sarbazalin@gmail.com www.facebook.com/sarbaza li.sarbaz twitter.com/sarbaz_ali in.linkedin.com/in/sarbazali +919037896770
  5. 5. What is JSON? • Stands for JavaScript Object Notation • Is lightweight format for exchanging data between the client and server. • Easy for humans to read and write. • Easy for machines to parse and generate
  6. 6. Why JSON? • • • • • JSON is recognized natively by JavaScript Simple format The easiness of reading The easiness of using Lighter than XML
  7. 7. JSON Syntax • For objects start the object with “{“ and end it with “}” • For members (properties), use pairs of string : value and separate them by commas • For arrays put the arrays between [] • For elements put the values directly separated by commas.
  8. 8. Example  In JSON :var myFirstJSON = { "firstName" : "John", "lastName" : "Doe", "age" : 23 };  In XML :<myFirstJSON> <firstname>John</firstname> <lastname>Doe</llastname> <age>23</age> </myFirstJSON>
  9. 9. JSON Parser • You can convert JSON object into JSON text • Object to Text Conversion var myJSONText = myObject.toJSONString();
  10. 10. Accessing Data in JSON • The most common way to access JSON data is through dot notation. var myObject = { 'color' : 'blue' }; document.writeln(myObject.color);
  11. 11. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  12. 12. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×