• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Json
 

json

json

Statistics

Views

Total Views
490
Views on SlideShare
490
Embed Views
0

Actions

Likes
0
Downloads
8
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Json Json Presentation Transcript

    • 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
    • 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/sarbazali +919037896770
    • 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
    • Why JSON? • • • • • JSON is recognized natively by JavaScript Simple format The easiness of reading The easiness of using Lighter than XML
    • 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.
    • Example  In JSON :var myFirstJSON = { "firstName" : "John", "lastName" : "Doe", "age" : 23 };  In XML :<myFirstJSON> <firstname>John</firstname> <lastname>Doe</llastname> <age>23</age> </myFirstJSON>
    • JSON Parser • You can convert JSON object into JSON text • Object to Text Conversion var myJSONText = myObject.toJSONString();
    • Accessing Data in JSON • The most common way to access JSON data is through dot notation. var myObject = { 'color' : 'blue' }; document.writeln(myObject.color);
    • 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
    • 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