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...
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...
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...
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...
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...
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...
<!-- this is the javascript json parser function --> <script type="text/javascript" src="../jquery-1.2.6.min.js"> </script> <script type="text/javascript"> ...
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...
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...
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...
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...
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...
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...
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 ==...
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: *...
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,...
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...
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...
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...
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...