Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JSON explanation
- // The weather data is being returned in a format called JSON.
- // Let's take a look at the data itself to help explain what JSON is and how it's used.
- // First things first.
- // JSON spelled J S O N in all caps stands for JavaScript Object Notation.
- // The basic idea behind JSON is that we can represent data in this simple to
- // read manner, that is easily parsed and used by programming languages.
- // JSON is used for mobile data transfer because it is light and small
- // JSON is all data, no methods
- // Jason is built on and can be represented by two types of structures.
- 1. collection of key-value pairs that can be grouped together as an object
- 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