1087Re: Double quotes around ISO date string?
- Jul 7, 2008--- In email@example.com, "geoffrey.mcgill" <geoff@...> wrote:
>I think you are confusing toJSON with toJSONString. The toJSON method
> Maybe I'm just going crazy, but in a previous version of json.js (or
> maybe json2.js) did the .toISOString function wrap an extra set of ""
> (double quotes) around the converted date string?
(which is supported by json2.js and is likely to be included in the
next ECMAScript standard) allows an object to specify a value that
will be serialized. The toJSONString method (which is no longer
recommended) allows an object to return its own serialization string.
- << Previous post in topic