JSON (JavaScript Object Notation)

Topics

  • What is and Why JSON? 
  • JSON Object 
  • JavaScript Object and JSON text conversion 
  • JSON in Java

What is & Why JSON?

What is JSON? 

  • JSON is a text format representation of JavaScript object 
    • More precisely, it is a text format representation of a JavaScript object literal with some restrictions (see the next slide for these restrictions) 
    • Readily usable in JavaScript code - you can easily convert JSONbased text format representation to JavaScript object 
  • Lighter text-based data-interchange format 
    • Compared to XML 
  • Simple format
    • Easy for humans to read and write 
    • Easy for machines to parse and generate

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.