Andreas Hofer (1) [Avatar] Offline
#1
Several times the term "JSON object" is used when referring to objects in JavaScript. I think this is not quite correct.

JSON is a data exchange format that allows to serialize JavaScript objects. The JSON specification defines a JSON object as the part of its syntax that describes a JavaScript object.

If an object with its data is written in JavaScript source code, it is called an object literal.

If it is held in a variable I would call it JavaScript object. You cannot tell by looking at the object whether it is originating from a JSON file or from somewhere else.
468060 (44) [Avatar] Offline
#2
You are right that he uses the word JSON incorrectly. However, you can tell by looking at this code that this is not JSON: JSON strings must be delimited, and the ones that he uses are not.

He should either a) use JSON correctly and call it JSON or b) use JavaScript objects and call them JavaScript objects.