26 September 2006 08:15
JSON is a subset of the Object Literal
WIth a lot of talk about JSON these days, it's important to understand the syntax and how it differs from the object literal — or rather how it's a subset of it.
JSON for the masses
by 10 othersBecause JSON is here. And not only is it here, but it’s been to college and graduated here. Being part of the ECMA Standard of 1999, and then popularized by Douglas Crockford in 2002 (sort of), Object Notation has quite a history. And although that history has been ignored for quite some time, that does not excuse its unpopularity for so many years. It’s time to get with it and develop your JavaScript in Object Notation.
1
(2 marks)