JSON is a form of representing objects using java script.
Think of
- 
First line as as reading it as plain text 
- 
Second line is converting it into a json object. 
- 
Third line as extracting the necessary properties of the object from the created json object. 
solved What is the purpose of each of these code lines? [closed]