4 ms·
Crockford didn't create JSON any more than Al Gore created the Internet. He coined the term and evangelized the use of JSON as a data format.
by kwamenum86 17y ago
Crockford didn't create JSON any more than Al Gore created the Internet. He coined the term and evangelized the use of JSON as a data format.
- axod 17y agoI hate every single time I see that. JSON as a data format has been in use forever in various languages.
- jerf 17y agoYes, he did. JSON is absolutely positively NOT "whatever Javascript eval will accept as input and return a data structure for". It is a rigidly-defined subset of that, and the rigid definition of it is one of its significant advantages over several competing formats. Crockford created the rigid specification and JSON is the better for someone with experience having created it. Someone of lesser experience might have specified it less rigidly and lost much of the advantage thereby. (YAML died on fuzziness in the specification mistakenly perceived as virtue. "YAML's not dead!" Compared to JSON, it is, and thank goodness.) Incidentally, if you aren't using it strictly, you're losing some of the advantages yourself. If your parser accepts single-quoted strings, or even worse if your serializer generates them (ick!), just as one example, you're in some trouble, even if it all works for you right now.
- jlangenauer 17y agoIt wasn't just fuzziness, it was outright whimsy in the YAML spec. Interpreting the string "Yes" (and "on") to actually mean a boolean true is one of the dumbest things I've seen in any specification, anywhere.
- sh1mmer 17y agoAnd Crockford always insists he "discovered" JSON. So please don't misrepresent him, based on the words of someone else.