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- ...
1289
Andrea Giammarchi
an_red...
Jul 4, 2009 11:18 am
Maybe this stuff could be interesting for json2.js file as well, or maybe not. It is a quick and full specs ISO strings parser, really fast, widely compatible,...
1290
joel.finch@...
joel.finch...
Jul 6, 2009 12:29 am
Personally, I think this would have to extend the Date prototype to be fully useful; like json2.js, its value is in allowing us to write script now using the...
1291
joel.finch@...
joel.finch...
Jul 6, 2009 12:41 am
I noticed in the latest ECMAScript 5 spec that Date's toJSON is defined to return the same string as Date's toISOString. (as of:...
1292
Andrea Giammarchi
an_red...
Jul 6, 2009 6:51 am
The NaN case should be a constructor problem, no? To extend Date.prototype.toISOString = Date.ISO("2000").toISOString; On Jul 6, 2009 1:41 AM,...
1293
Arthur Blake
blakesys
Jul 9, 2009 7:15 pm
Shouldn't new Date(NaN) refer to a future date that is always just around the corner, yet never arrives? sorry... couldn't resist :) On Mon, Jul 6, 2009 at...
1294
Andrea Giammarchi
an_red...
Jul 9, 2009 7:26 pm
Uhm, I think new Date(NaN) should return a static historical date, new Date(Number.POSITIVE_INFINITY) 9999-12-31T23:59:59:999 and Number.NEGATIVE_INFINITY...
1296
Lucas Smith
y_lsmith
Jul 15, 2009 5:16 pm
For YUI's JSON utility, I'm leveraging native behavior if present and stable. To that second point, I adapted the test suite for YUI's JSON util to test the...
1297
dey_nibedita
Jul 15, 2009 8:21 pm
What is the best way to convert JSON value to java object so that it can be sent to server? It needs to be free / open source....