Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

json · JSON JavaScript Object Notation

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 590
  • Category: Data Formats
  • Founded: Jul 19, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 1857 - 1886 of 1958   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
1857 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:15 pm
Outside of special interpretation of strings, there's only one change I can think of that JSON could make that many existing parsers would be forward...
1858 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:18 pm
Oh, that isn't special interpretation, that's just using keys your app doesn't check. ... -- Andrew Faulds (AJF) http://ajf.me/ [Non-text portions of this...
1859 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:24 pm
Here's what I mean: according to the JSON spec and in Ruby 1.8, if you parse {"j":true,"s":true,"o":true,"n"} and throw out the input but keep the result,...
1860 Gregg Irwin
greggirwin143 Send Email
Jul 10, 2012
8:27 pm
Thanks for taking the time to write your propositions and post here. I agree with others here, Jos making the same points I would (though I don't care for YAML...
1861 John Cowan
johnwcowan Send Email
Jul 10, 2012
8:43 pm
... You don't say so, but your Proposition II (optional quotes on keys) breaks EcmaScript 3 compatibility, because all reserved words in that standard are...
1862 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:43 pm
Excellent call on removing comments from your JSON parser, despite liking them. Part of my project with Eon is getting wide language support, so I'm happy to...
1863 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:46 pm
The author didn't specify what keys could have their quotes omitted. If I were to design that feature I would probably limit it to a common subset of supported...
1864 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:47 pm
I don't think the introduction of comments alone will get your project any adoption, even though it makes it easier to implement. ... -- Andrew Faulds (AJF) ...
1865 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:51 pm
It doesn't just make it easy to implement; it also makes it easier to grok. So I think it has a shot at getting some usage. FWIW I'm not trying to get people...
1866 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:53 pm
For configs I ask, why not just use Microsoft's Initialisation file format (.ini)? It's limited, sure, you only have 1 level of depth, but it's fine for most...
1867 douglascrockford
douglascrock... Send Email
Jul 10, 2012
8:53 pm
... You don't need a new standard. Just pipe JSMin in front of your JSON parser....
1868 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:55 pm
I often go deeper than that. Also the JSON format is very clear. It's clearer than simpler formats like CSV and INI in how it represents strings....
1869 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:56 pm
Wait, wouldn't JSMin leave in unquoted key names? ... -- Andrew Faulds (AJF) http://ajf.me/ [Non-text portions of this message have been removed]...
1870 John Cowan
johnwcowan Send Email
Jul 10, 2012
9:27 pm
... Actually, multiple levels are permitted by convention. If the name inside the brackets has backslashes in it, it is interpreted as a multi-level name. -- ...
1871 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
9:32 pm
I meant that you can't really nest things (although theoretically you could put an INI file as a string, but it's unwieldy) ... -- Andrew Faulds (AJF) ...
1872 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
10:12 pm
I agree filtering makes sense, but why run it through a full-blown filter when all I want is to support comments? I think this is a nice efficient and simple...
1873 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
10:14 pm
JSMin isn't a full-blown filter, it relies on valid JS/JSON being passed in. pass in "b + ++a" and you'll get "b+++a" out. ... -- Andrew Faulds (AJF) ...
1874 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
10:18 pm
Thanks for pointing that out. That reminds me - another thing I want is to be able to automatically change something in an eon file without stripping out...
1875 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
10:30 pm
You don't want JSON, then. JSON isn't designed to update an existing file, it deserialises and serialises. ... -- Andrew Faulds (AJF) http://ajf.me/ [Non-text...
1876 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
10:39 pm
Which format should I use, then? XML? http://www.coderanch.com/t/128908/XML/Preserve-comments-XSL But I like JSON! Also these configs are going to get turned...
1877 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
10:41 pm
Don't complain that JSON isn't what you want it to be. There are plenty of alternative formats, use one of them, instead. ... -- Andrew Faulds (AJF) ...
1878 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
10:42 pm
Don't tell me what to do....
1879 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
11:01 pm
I'm not telling you what to do, I'm just saying that whining that a fixed standard, which is designed for something different to what you want, does not do...
1880 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
11:12 pm
Thanks; I realize that, and also that since I'm the one making a file format I should be more accepting of criticism. But I don't mean to be whining. I see...
1881 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
11:16 pm
Ah, I see. Well, I'd suggest changing the name to something more geared towards configuration... ECL, perhaps? ... -- Andrew Faulds (AJF) http://ajf.me/ ...
1882 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
11:35 pm
I wanted to pick something that didn't sound too much like JSON or too little like JSON. Too much like JSON and you get breakage. Too little like JSON and...
1883 Tatu Saloranta
cowtowncoder Send Email
Jul 10, 2012
11:56 pm
... If it is "JSON with comments", could call it json-c or jsonc, if "json-with-comments" is too long? Similar to how json-p (json with padding) is called;...
1884 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
11:57 pm
JSON had them, Crockford removed them because people used them for parsing directives which was problematic as it fragmented the standard and stopped there...
1885 douglascrockford
douglascrock... Send Email
Jul 11, 2012
12:38 am
... I'll say this one more time: If you want comments, then pipe JSMin in front of your JSON parser. You don't need a new standard....
1886 Dennis Gearon
gearond... Send Email
Jul 11, 2012
2:10 am
WOW! My mailbox doubled in volume in 4 hrs from this normally quiet mail list. I think this concept has stirred a hornets nest. I'll read this idea near the...
Messages 1857 - 1886 of 1958   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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