0

Difference between object instances and JSON files

Its not really pertinent to this course exactly, but I was curious if anyone could give an explanation of the difference between a .js file that would just have essentially a repository of objects and functions, and an actual JSON file?

21st Dec 2016, 10:33 PM
Robert Jones
Robert Jones - avatar
1 Resposta
+ 2
a. JSON file can be used by any other langage, as a response from a web API, as map or texture for a game, as a value for a web local storage key etc
22nd Dec 2016, 1:38 AM
ADEL MAHJOUB
ADEL MAHJOUB - avatar