What level of difference is there between raw database result set name value paired that has been gzipped and hunpack'ed data that has been gzipped? I know...
1260
an_red@...
an_red...
May 27, 2009 3:51 pm
Kris, hope I got your question. Basically, as you said gzip is able to reduce drastically redundant words (in JSON case, every collection repeated key) This...
1261
Tatu Saloranta
cowtowncoder
May 27, 2009 7:09 pm
On Wed, May 27, 2009 at 6:27 AM, Andrea Giammarchi ... This seems like a simple and possibly sensible convention. But in addition to having an implementation,...
1262
an_red@...
an_red...
May 28, 2009 8:26 am
Tatu, gzip works faster in any case over JSON.hpack(ed) stuff for the same reason JSON.stringify / parse is faster over JSON.hpacked stuff, less characters to...
1263
Tatu Saloranta
cowtowncoder
May 28, 2009 11:40 pm
On Thu, May 28, 2009 at 1:25 AM, an_red@... ... Yes, certainly, not arguing with that, wrt. speed. ... No doubt, it should be a fairly simple...
1264
an_red@...
an_red...
May 29, 2009 10:30 am
Is something like this enough? http://wiki.github.com/WebReflection/json.hpack/specs-details Best Regards. Andrea Giammarchi...
1265
Tatu Saloranta
cowtowncoder
May 29, 2009 5:23 pm
On Fri, May 29, 2009 at 3:29 AM, an_red@... ... I think so (didn't read in detail) -- and if there are questions, it's easy to contact you and suggest...
1266
W
wain_mike
May 31, 2009 11:58 am
jswoof version 1.04 has been released. providing more speed improvements. some minor bug fixes and updated documentation. as usual you can get the latest...
1267
Tyler Close
tjclose
Jun 1, 2009 1:10 pm
Last month, I announced the web_send library on this list: http://tech.groups.yahoo.com/group/json/message/1250 When hosted by your server, the web_send...
1268
Stephen M. McKamey
stephen.mckamey
Jun 1, 2009 8:36 pm
We have been having a heck of a time with an issue in IE8's implementation of JSON.stringify(). It appears that IE8 *sometimes* encodes an empty string as the...
1269
Ric Johnson
ricjohnsoniii
Jun 2, 2009 1:27 am
IE may have a REFERENCE to the origianl object. In your first example, when coerced into a string from th LEFT, they are equivilant The stringify method may...
1270
Stephen M. McKamey
stephen.mckamey
Jun 2, 2009 1:42 am
The triple-equals shouldn't be coercing the arguments before comparison. Reversing the order of the test to (bad === good) still results in true. To top that...
1271
Stephen M. McKamey
stephen.mckamey
Jun 2, 2009 3:42 pm
Below is the answer from Microsoft about this bug in JSON.stringify. Thanks Douglas Crockford for forwarding on to the appropriate contact at Microsoft. It...
1272
W
wain_mike
Jun 2, 2009 8:01 pm
jswoof version 1.05 has been released. This version contains a small fix for escaped uni-code characters during serialization. please check out...
1273
Stephen M. McKamey
stephen.mckamey
Jun 2, 2009 8:24 pm
Allen Wirfs-Brock suggested another work-around to the IE8 native JSON issue: Another work-around that is isolated to a single place is to use IE8's "mutable...
1274
JIJO DASGUPTA (ANAND)
jijodasgupta
Jun 8, 2009 2:22 pm
<!-- this is the javascript json parser function --> <script type="text/javascript" src="../jquery-1.2.6.min.js"> </script> <script type="text/javascript"> ...
1275
Douglas Crockford
douglascrock...
Jun 8, 2009 3:34 pm
... Your question is out of scope for this group. Ask the jQuery people....
1276
W
wain_mike
Jun 9, 2009 9:04 pm
jswoof version 1.06 has been released. containing a major speed improvement to the array parsing functions. As usual please check out...
1277
W
wain_mike
Jun 16, 2009 6:55 pm
has now been released. containing a small fix for object ordering. as usual jswoof and all its documentation can be found at: http://www.waynemike.co.uk/jswoof...
1278
Brian Lopez
gislobber
Jun 18, 2009 7:51 am
Just wanted to let you all know yajl-ruby 0.5.5 was released to github's gem server and I'll be pushing a release to rubyforge soon as well. This is an...
1279
Douglas Crockford
douglascrock...
Jun 18, 2009 4:43 pm
I had always assumed that new Date(NaN) in JavaScript would throw an exception. I found out today that produces a toxic date object, and that different...
1280
Jakob Kruse
thekrucible
Jun 18, 2009 5:45 pm
Just to clarify this… ”new Date()” normally produces a perfectly ok Date object representing the current date and time. Does your change to ES5 mean that...
1281
Douglas Crockford
douglascrock...
Jun 18, 2009 5:52 pm
... I meant exactly what I said. This only concerns new Date(NaN)....
1282
Jakob Kruse
thekrucible
Jun 18, 2009 6:33 pm
Then apparently you didn’t say what you meant. No offense, that was what I needed to clarify. “…that different implementations of JSON.stringify([new...
1283
joel.finch@...
joel.finch...
Jun 19, 2009 12:14 am
It might be worth noting that the Date constructor or Date.parse() fed an incorrectly formatted date string also gives a NaN-valued Date object, which is the...
1284
joel.finch@...
joel.finch...
Jun 19, 2009 4:28 pm
I just ran the updated json2.js (2009-06-18) through my unit tests, and the valueOf() solution to the NaN Date issue fails for the epoch date (0 ticks ==...
1285
cosmicrealms
Jun 29, 2009 5:53 pm
Code: JSON.parse("\"T\\wo\""); In Firefox 3.5 and the latest json2.js from json.org this results in a parse exception SyntaxError. Expected: Two It works in: *...
1286
Douglas Crockford
douglascrock...
Jun 29, 2009 6:00 pm
... \w is not present in the JSON grammar. An implementation may produce a syntax error. The behavior of Firefox 3.5 is correct....
1287
Douglas Crockford
douglascrock...
Jun 29, 2009 6:14 pm
... Fix. Thanks....
1288
John Cowan
johnwcowan
Jun 29, 2009 6:48 pm
... The interpretation of string escaping means that "\"T\\wo\"" is the external representation of a six-character string containing quote-T- ...