... I would like to understand your intentions. Where commentary is important, it can be encoded directly in JSON, where the outermost object resembles a COBOL...
What is the future of JSON? Yahoo is now supporting JSON for their WebServices - is that because Douglas Crockford works for Yahoo? What is the status of...
You may want to look through these messages of the group. I'm fairly certain everyone here would say it has a future, even without Yahoo in the picture. -- ...
I don't expect this to apply to many people, and I'm not remarking on it as a shortcoming of JSON (because it clearly isn't), this is just for information: ...
Is there any reason why this is used: function e(s) { a[a.length] = s; } rather than function e(s) { a.push(s); } ? I don't suppose it makes much difference in...
... It can be useful to comment-out sections of hand-coded JSON for development/testing, and to have inline human-readable comments about what is going on. A...
Jim has said it sweetly what pretty much everyone has been saying on this thread (perhaps just in too many words). He's also hit my points right on. ... If...
... This question is way off topic for this group. This group is about JSON, not JavaScript coding. But to answer your question, the first form is slightly...
... It's a shame that neither the previous version nor the current version aren't versioned... ;-) -- Martin Cooper (luckily I have a copy on disk) or that the...
... because Douglas Crockford works for Yahoo? What is the status of http://JSON.Org (it now re-directs to http://www.crockford.com/JSON/ ) and what is...
I think the real crux of this is simply, you cannot create a json format string through encoding from existing data that would contain comments (IIRC). It is...
... Huh? If I'm writing an encoder that takes a Java data structure and encodes it into JSON, it would make perfect sense to me to generate comments (in ...
I'll jump in here and say that even a draconian syntax like XML (arguably the most used data stream format on the planet) supports comments. The whole point of...
... encodes ... encoded. So, ... encoding ... Why would you do that? What expectation do you have of the receiver? Why waste the bandwidth? What, specifically,...
... debug information is *IN*valuable , for us weak-minded developers that cant guess whats being passed back and forth, i use html comments in lots of...
... In this specific example, I might choose to do this because multiple Java types map to the same JSON type, and it could help me a lot with identifying ...
... Hmmm. Well, if you say so, but I'd rather taken my lead as to relevance from the post where you discuss Javascript efficiency in the parse function :-) ......
I am completely stumped. Did the rest of my message not present the cases? Do HTML, XML and YAML or just about any text format not acknowledge the utility of...
I think Martin's response (#177 [1]) has addressed most points so I just want to add one thing simply. Given any text format, comments are just about as useful...
... As I said, I have a sneaking hunch that the real issue stems from tying JSON to YAML. With the comments debate generating some traffic, I feel less daring...
I do have to say, unless I've missed something big in the thread, the only thing I see keeping comment support *out* of the new version is "because". As in...
JSON has a string notation which is similar to that used in the C family languages. Strings are bounded by double quote characters. Escapement is provided by...
... These statements have me really wondering about what JSON is supposed to be. The reasoning behind removing comments was that it would "more closely align ...
... That is correct. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of ...
I agree 100% with you. Do as I do and use Javascript Object Literals as they are specified in the Javascript or ECMAScript Reference. Anything the JS parser...
... Beginning to? I thought this was the idea all along? Syntax that's valid Javascript, Python, and easy to write parsers for other languages. I'm already...
... Then can you please explain why it is called JavaScript Object Notation? -- Martin Cooper but uses ... [Non-text portions of this message have been...
Funny thing is, YAML was designed for human consumption as much as a language-neutral serializing format. And JSON's ancestry (JavaScript) is more in the LISP...
... It is up to the coder to define 'best practices' not the format to impose or restrict them. << Agreed. The problem lies in some of the inconsistencies...