... There is no JSON2. json2.js is a JSON library for JavaScript. JSON has not changed. It is still the language that is described at http://www.JSON.org/ and...
1318
Mark Joseph
markjoseph_sc
Aug 7, 2009 6:27 pm
Thanks, but I don't see date strings referenced on the www.json.org site. There are a lot of different Date formats like RFC822 and the ISO standard. And there...
1319
Douglas Crockford
douglascrock...
Aug 7, 2009 6:30 pm
... JSON has nothing to say about dates. You are on your own....
1320
Andrea Giammarchi
an_red...
Aug 7, 2009 6:38 pm
Open minded, uh? ... definition of these Da... There is no JSON2. json2.js is a JSON library for JavaScript. JSON has not changed. It is still the language...
1321
Mark Joseph
markjoseph_sc
Aug 7, 2009 6:38 pm
So these JSON parse functions for Dates are just utility functions available for use to help parse data in Javascript? What purpose does this discussion...
1322
Kris Zyp
kriszyp
Aug 7, 2009 6:40 pm
... standard. ... so are ... As Crockford pointed out, there is no normative definition, but with json2.js, IE8, FF3.5 (and others I'm sure) all serializing JS...
1323
John Cowan
johnwcowan
Aug 7, 2009 7:08 pm
... JSON is about as likely to change as ASCII, RS-232, or the Unix "cal" program. -- John Cowan cowan@... http://ccil.org/~cowan No man is an island,...
1324
Arthur Blake
blakesys
Aug 7, 2009 7:14 pm
If there was a reliable and robust Date literal as part of the JS language,when JSON was defined, maybe JSON itself would handle Dates, but there wasn't and...
1325
Mark S. Miller
capsecure
Aug 7, 2009 7:17 pm
On Fri, Aug 7, 2009 at 11:36 AM, Andrea Giammarchi < ... I have often said to Crock that one of JSON's great virtues is the absence of any ability to version...
1326
Kris Zyp
kriszyp
Aug 7, 2009 7:33 pm
... would ... Just to be clear, I wasn't arguing that the spec needed to be updated. I was just pointing out there is general agreement in the community on how...
1327
Martin Cooper
mfncooper
Aug 7, 2009 7:45 pm
... Not versioning the spec is one thing, but I *really* wish json2.js was under version control instead of new versions just replacing old ones on the ...
1328
Arthur Blake
blakesys
Aug 7, 2009 7:58 pm
I would like to see all of the Crockford utilities (jsmin, jslint, json2.js, org.json java classes, etc.) somewhere under version control as I have so many...
1329
Mark Joseph
markjoseph_sc
Aug 7, 2009 7:58 pm
Standards are not static, things change. If I want to support ISO date encoded in a string I have to take a performance hit because now my parser has to first...
1330
Mark Joseph
markjoseph_sc
Aug 7, 2009 8:22 pm
From: Andrea Giammarchi [mailto:andrea.giammarchi@...] To: json@yahoogroups.com Sent: Fri, 07 Aug 2009 07:50:55 -0700 Subject: Re: [json] Re: Why we have...
1331
Andrea Giammarchi
an_red...
Aug 7, 2009 11:25 pm
So if basis could be bettere, let's adapt everything else based on not-perfect basis, right? I am a developer, enterprise one, I spot a performances problem, I...
1332
Tatu Saloranta
cowtowncoder
Aug 8, 2009 3:36 am
... Not necessarily, and not arbitrarily. They should change iff there is a new revision of the standard. ... Not necessarily. Incremental parsers can wait...
1333
Mark Joseph
markjoseph_sc
Aug 8, 2009 4:02 am
Well you can fight this all you want, but to me it looks like the browser writers have changed the specification anyway out of need. Best, Mark Joseph, Ph.D. ...
1334
Andrea Giammarchi
an_red...
Aug 8, 2009 1:08 pm
There are much bigger fish to try like what? Since Dates are a loose type in a protocol that does not define them but is manages them somehow? Dates are the...
1335
Andrea Giammarchi
an_red...
Aug 11, 2009 8:07 pm
I wrote a page days ago which aim is to demonstrate there was nothing hypothetical: http://www.3site.eu/jstests/json/ Would be nice to receive an answer or a...
1336
Jakob Kruse
thekrucible
Aug 11, 2009 8:20 pm
Andrea, I fail to understand what exactly you aim to prove on that page, but that is besides the point. You seem to argue that special features (incorporating...
1337
Andrea Giammarchi
an_red...
Aug 11, 2009 10:46 pm
... Douglas blamed me for hypothetical assumptions about performances improvements, I've simply demonstrated those were not assumptions. My point is: how...
1338
Michal Migurski
michal_migurski
Aug 12, 2009 3:50 am
... Says who? I use it to communicate amongst Javascript, PHP, and Python. I have no need for or interest in an update to the JSON spec - it is, as others on...
1339
Fang Yidong
fangyidong
Aug 12, 2009 5:05 am
Hi Andrea, I don't think there is an "official" JSON parser, neither it will "dictate" anything. I think you can consider it as a reference implementation if...
1340
gearond@...
gearond...
Aug 12, 2009 5:11 am
The best scenario for the most concise and easy encapsulation would be SQL brand specific objects holding text or binary data, totally transparent without...
1341
Andrea Giammarchi
an_red...
Aug 12, 2009 12:46 pm
OK guys, I've got your point. About "dictating" it was what Douglas said: ES5 and every browser are going to implement json2.js serializer/unserializer API. ...
1342
Martin Cooper
mfncooper
Aug 12, 2009 4:27 pm
Fang is correct that there is no "official" JSON parser, and also that json2.js could be considered a reference implementation (RI). Since Douglas unilaterally...
1343
Andrea Giammarchi
an_red...
Aug 12, 2009 5:24 pm
I have created dunno how many JSON open source parsers but json2.js is apparently frequently updated and being the "unofficial" standard adopted by most recent...
1344
Douglas Crockford
douglascrock...
Aug 12, 2009 5:34 pm
JSON is completely unencumbered. There are no registration, licensing, or usage requirements or restrictions. You are free to write your own software or to use...
1345
Andrea Giammarchi
an_red...
Aug 12, 2009 5:57 pm
I will. Regards On Aug 12, 2009 6:34 PM, "Douglas Crockford" <douglas@...> wrote: JSON is completely unencumbered. There are no registration,...
1346
Martin Cooper
mfncooper
Aug 12, 2009 6:04 pm
On Wed, Aug 12, 2009 at 10:15 AM, Andrea Giammarchi < ... I think you just answered your own question. The reason you, or I, or someone else, would create a...