Closed sstur closed 12 years ago
I want to keep json2.js stable, so I am reluctant to make changes except for significant errors. I recommend instead that you load json2.js in that other frame.
Sure. I respect that policy, and I appreciate how stable this library is. Thanks.
A bit off topic here, but I am getting errors when I include a JSON2 file, unless I place it in the last position. Is this the norm?
On Mon, Oct 29, 2012 at 11:50 AM, Simon Sturmer notifications@github.comwrote:
Sure. I respect that policy, and I appreciate how stable this library is. Thanks.
— Reply to this email directly or view it on GitHubhttps://github.com/douglascrockford/JSON-js/pull/45#issuecomment-9872273.
Of course not.
Date.prototype is extended in this context with toJSON but dates from another context/frame slip through as plain objects. Object.prototype.toString should be used to catch dates similar to how it is used for arrays.