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 1842 - 1871 of 1953   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
1842 Ben
ben_souther Send Email
May 29, 2012
7:47 pm
I've just released a small lightweight JSON formatter written in C. It doesn't try to validate. It doesn't buffer or call malloc making it suitable for being...
1843 John Cowan
johnwcowan Send Email
May 29, 2012
9:27 pm
... It actually does do stdio buffering; if it didn't, it would be dog-slow. -- Values of beeta will give rise to dom! John Cowan (5th/6th edition...
1844 Ben
ben_souther Send Email
May 29, 2012
10:55 pm
Thanks, John, I'll remove the "no buffering" part from the description. BTW: I like your Open Source License Wizard. -Ben...
1845 Ben
ben_souther Send Email
May 30, 2012
2:16 pm
Thanks to Dave Gamble, there is already a new version with a fix for a bug that caused an extra line-break to appear after closing quotes. There is also a...
1846 johnnys
jongyman Send Email
Jul 10, 2012
7:32 pm
I've published a web page with some propositions to modify JSON at http://json.marler.info <http://json.marler.info> I wanted to post this so I could see what...
1847 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
7:36 pm
I don't think this is a good idea. One of the best things, if not the best, about JSON is the lack of a version number. The standard is frozen and will never...
1848 Tatu Saloranta
cowtowncoder Send Email
Jul 10, 2012
7:52 pm
... I second this. If anyone wants to "modify" standard JSON, it is best done by proposing a new standard since there is no practical way of introducing...
1849 Borislav Iordanov
lambdacreations Send Email
Jul 10, 2012
7:55 pm
... That's a valid argument, but is it such a big deal given that anything in software evolves and it's just natural to deal with versions? His proposition 1...
1850 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
7:57 pm
It is a big deal, JSON is supposed to be a frozen and unchanging format. And if we change it, anything that accepts it is automatically broken, which is a very...
1851 Tatu Saloranta
cowtowncoder Send Email
Jul 10, 2012
7:57 pm
On Tue, Jul 10, 2012 at 12:55 PM, Borislav Iordanov ... For some perspective on this, one could consider fate of XML 1.1, which actually does not have this...
1852 Jos de Jong
wjosdejong Send Email
Jul 10, 2012
8:00 pm
Your propositions looks very clear. However, I think it is a bad idea to change JSON. JSON definitely has weak points (such as no predefined structure for a...
1853 Jos de Jong
wjosdejong Send Email
Jul 10, 2012
8:04 pm
If you want a standard that is even easier to read for humans than JSON, then just use YAML <http://www.yaml.org/> or something like that (JSON is a subset of...
1854 Ben Atkin
vote_zaphod_... Send Email
Jul 10, 2012
8:09 pm
The standard is respected in most places. Try adding comments and then using a common JSON parser (like the one in Firefox or Chrome) and you'll see an error....
1855 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:12 pm
It's all well and good creating eon, but nothing stops you doing this: { "$comment: by the way, don't use values < 2" "thing": 2, } ... -- Andrew Faulds (AJF) ...
1856 Andrew Faulds
ajfweb@... Send Email
Jul 10, 2012
8:13 pm
er, that was horribly malformed, but you get what I mean. ... -- Andrew Faulds (AJF) http://ajf.me/ [Non-text portions of this message have been removed]...
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) ...
Messages 1842 - 1871 of 1953   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