I was reading about Javascript and I came across javascript object notation and I was quite fascinated.
For example,
var myObject = {
name: "Peter Foti",
'course': 'JavaScript',
grade: 'A',
level: 3
};
Why couldn't I do a JSON Object instead of using an object? When should we use Javascript objects as opposed to sending JSON Object?
Kinda confused here.