Search the web
Sign In
New User? Sign Up
json · JSON JavaScript Object Notation
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 166 - 195 of 1408   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
166
... 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...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 3, 2006
4:38 pm
167
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...
Anthony Mouse
anthony.mouse
Offline Send Email
Jan 3, 2006
4:54 pm
168
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. -- ...
MPCM
mpcmtechnolo...
Offline Send Email
Jan 3, 2006
5:00 pm
169
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: ...
ingliss
Offline Send Email
Jan 3, 2006
5:20 pm
170
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...
ingliss
Offline Send Email
Jan 3, 2006
5:30 pm
171
... 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 Washington
jimcburg
Offline Send Email
Jan 3, 2006
6:00 pm
172
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...
Atif Aziz
azizatif
Offline Send Email
Jan 3, 2006
6:39 pm
173
... 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...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 3, 2006
6:43 pm
174
... 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...
Martin Cooper
mfncooper
Offline Send Email
Jan 3, 2006
6:49 pm
175
... 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...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 3, 2006
6:53 pm
176
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...
MPCM
mpcmtechnolo...
Offline Send Email
Jan 3, 2006
7:03 pm
177
... 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 ...
Martin Cooper
mfncooper
Offline Send Email
Jan 3, 2006
7:24 pm
178
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...
Dave Balmer
dbalmerjr
Offline Send Email
Jan 3, 2006
7:58 pm
179
... encodes ... encoded. So, ... encoding ... Why would you do that? What expectation do you have of the receiver? Why waste the bandwidth? What, specifically,...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 3, 2006
8:22 pm
180
... 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...
f3l
kyoosho
Offline Send Email
Jan 3, 2006
8:40 pm
181
... 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 ...
Martin Cooper
mfncooper
Offline Send Email
Jan 3, 2006
9:33 pm
182
... 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 :-) ......
ingliss
Offline Send Email
Jan 4, 2006
12:17 am
183
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...
Atif Aziz
azizatif
Offline Send Email
Jan 4, 2006
12:24 am
184
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...
Atif Aziz
azizatif
Offline Send Email
Jan 4, 2006
12:39 am
185
... 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...
Atif Aziz
azizatif
Offline Send Email
Jan 4, 2006
12:54 am
186
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...
Dave Balmer
dbalmerjr
Offline Send Email
Jan 4, 2006
1:41 am
187
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...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 4, 2006
1:59 am
188
... 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 ...
Martin Cooper
mfncooper
Offline Send Email
Jan 4, 2006
6:39 am
189
... 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 ...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 4, 2006
2:01 pm
190
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...
George
georgenava
Offline Send Email
Jan 4, 2006
3:04 pm
191
... 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...
Michal Migurski
michal_migurski
Offline Send Email
Jan 4, 2006
3:28 pm
192
... Then can you please explain why it is called JavaScript Object Notation? -- Martin Cooper but uses ... [Non-text portions of this message have been...
Martin Cooper
mfncooper
Offline Send Email
Jan 4, 2006
4:53 pm
193
... JSON is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. See http://www.JSON.org/...
Douglas Crockford
douglascrock...
Offline Send Email
Jan 4, 2006
6:48 pm
194
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...
Peter Ring
peter17ring
Offline Send Email
Jan 5, 2006
8:25 am
195
... 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...
Atif Aziz
azizatif
Offline Send Email
Jan 5, 2006
9:22 am
Messages 166 - 195 of 1408   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help