Advertisement
yo2man

TreeHouse: JSON

Jul 8th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.74 KB | None | 0 0
  1. JSON explanation
  2.  
  3. // The weather data is being returned in a format called JSON.
  4. // Let's take a look at the data itself to help explain what JSON is and how it's used.
  5.  
  6. // First things first.
  7. // JSON spelled J S O N in all caps stands for JavaScript Object Notation.
  8. // The basic idea behind JSON is that we can represent data in this simple to
  9. // read manner, that is easily parsed and used by programming languages.
  10. // JSON is used for mobile data transfer because it is light and small
  11. // JSON is all data, no methods
  12.  
  13. // Jason is built on and can be represented by two types of structures.
  14.     1. collection of key-value pairs that can be grouped together as an object
  15.     2. ordered list of objects, which we can think of as an array or list.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement