Hello all, I am starting an iphone app using json as the data interchange. I"m still coming up to speed on the JSON specs .... and more mportantly,...
1304
Kris Zyp
kriszyp
Jul 21, 2009 5:03 pm
The restful-json group (http://groups.google.com/group/restful-json) might actually be a better fit for these questions, more focused on JSON in a REST...
1305
Tyler Close
tjclose
Jul 21, 2009 9:36 pm
... From a practical perspective, it is better to label your POST entity as Content-Type "text/plain", since this will be handled more efficiently in...
1306
Kris Zyp
kriszyp
Jul 21, 2009 10:01 pm
... Yikes, recommending inaccurate media types? This easily leads down the hideous road of content sniffing. Hopefully that wouldn't be suggested for...
1307
Tatu Saloranta
cowtowncoder
Jul 21, 2009 10:29 pm
On Tue, Jul 21, 2009 at 3:01 PM, Kris Zyp<kriszyp@...> wrote: ... I fully agree -- I would prefer using proper content/media types, since those do serve...
1308
Stephen M. McKamey
stephen.mckamey
Jul 26, 2009 6:57 pm
Just wanted to share that the source code repository for the JSON serializer in JsonFx.NET (as well as the full Ajax framework) has been migrated to Google...
1309
W
wain_mike
Jul 31, 2009 7:14 pm
Hi all, its been a while since the last version of JSWOOF was uploaded but rest assured development has been around the clock. version 1.08 introduces some...
1310
Tatu Saloranta
cowtowncoder
Aug 4, 2009 3:02 am
Version 1.2 of Jackson JSON processor (http://wiki.fasterxml.com/JacksonHome) is now available. Jackson is a full-featured JSON processor written in Java. It...
1311
Andrea Giammarchi
an_red...
Aug 7, 2009 12:39 pm
JSON.parse function accepts an extra argument which main usage is to transform strings into Dates, if encountered. For performances reason this operation will...
1312
Douglas Crockford
douglascrock...
Aug 7, 2009 1:12 pm
... The replacer/reviver functions are generally useful. They are not mainly for dates. We shouldn't be mucking things up for eval tricks. ES5 is adopting the...
1313
Andrea Giammarchi
an_red...
Aug 7, 2009 1:47 pm
I am using the native JSON.parse with FF and others, json2 for IE < 8 The problem is that we have a standard (almost) to stringify Date but at the same time...
1314
Andrea Giammarchi
an_red...
Aug 7, 2009 2:54 pm
I wonder if this test is enough: http://www.3site.eu/jstests/json/ as average it is about 2 to 5 times faster in IE8 or 7, faster in any case with every other...
1315
Andrea Giammarchi
an_red...
Aug 7, 2009 2:59 pm
P.S. added native JSON parser if present, IE8 as example shows no differences between my proposal and native plus json2 suggested function. Moreover, my regexp...
1316
Mark Joseph
markjoseph_sc
Aug 7, 2009 6:09 pm
Is there a definition of these Dates and other new features in JSON2 as defined on the website www.json.org (i.e., using the train track model). My JSON parser...
1317
Douglas Crockford
douglascrock...
Aug 7, 2009 6:17 pm
... 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...