What are the differences between JSON and JavaScript object? [duplicate]
First you should know what JSON is: It is language agnostic data-interchange format. The syntax of JSON was inspired by the JavaScript Object Literal notation, but there are differences between them. For example, in JSON all keys must be quoted, while in object literals this is not necessary: // JSON: { “foo”: “bar” } // … Read more