Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

What is JSON? | JSON vs XML | Edureka

126 views

Published on

YouTube Link: https://youtu.be/uw_rP5bV9r0
** Full Stack Web Development Training: https://www.edureka.co/masters-progra... **
This Edureka PPT on 'What is JSON' will provide in-depth knowledge about the data interchange operator. It will help you understand the basics and fundamentals of JSON and why it is preferred over XML. This JSON tutorial covers the following topics:

What Is JSON?
Why do we use JSON?
JSON vs XML
Syntax Rules
JSON Fundamentals
Convert JSON text to JS Object

Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in

Published in: Technology
  • Be the first to comment

  • Be the first to like this

What is JSON? | JSON vs XML | Edureka

  1. 1. Copyright © 2017, edureka and/or its affiliates. All rights reserved.
  2. 2. www.edureka.co WHAT IS JSON? WHY DO WE USE JSON? JSON VS XML SYNTAX RULES JSON FUNDAMENTALS CONVERT JSON TEXT TO JS OBJECT
  3. 3. www.edureka.co
  4. 4. www.edureka.cowww.edureka.co
  5. 5. www.edureka.cowww.edureka.co
  6. 6. www.edureka.co JavaScript Object Notation(JSON) is a syntax for storing and exchanging data. It is a text, written with JavaScript object notation. www.edureka.co
  7. 7. www.edureka.co
  8. 8. www.edureka.co
  9. 9. JSON has a more compact style than XML, and it is often more readable. The lightweight approach of JSON can make significant improvements LESSVERBOSE www.edureka.co
  10. 10. The XML software parsing process can take a long time. JSON uses less data overall, so you reduce the cost and increase the parsing speed. FAST www.edureka.co
  11. 11. The JSON structure is straightforward and readable. You have an easier time mapping to domain objects, no matter what programming language you're working with. READABLE www.edureka.co
  12. 12. JSON uses a map data structure rather than XML's tree. In some situations, key/value pairs can limit what you can do, but you get a predictable and easy-to-understand data model. STRUCTUREDDATA www.edureka.co
  13. 13. www.edureka.co
  14. 14. Using XML- • Fetch an XML document • Use the XML DOM to loop through the document • Extract values and store in variables Using JSON- • Fetch a JSON string • JSON.Parse the JSON string www.edureka.co
  15. 15. www.edureka.co
  16. 16. www.edureka.co
  17. 17. CONVERT JSON TEXT TO JS OBJECT www.edureka.co
  18. 18. Copyright © 2017, edureka and/or its affiliates. All rights reserved. www.edureka.co
  19. 19. www.edureka.co

×