Re: [json] Re: json2 and objects with toJSON function
- toJSON is supposed to return the object to serialize. See step 2 in the
abstract operation Str(key, holder) (page 204, section 15.12.3) in the spec.
Your environment incorrectly returns a string for Array.prototype.toJSON
which of course means you end up with a string in your serialized JSON.
On Feb 16, 2010 4:32 AM, "soren.hilmer" <sh@...> wrote:
But I'm not looking for a workaround.
I'm trying to push a bug fix towards json2.js
This group seams to be the main communication entrypoint to
--- In firstname.lastname@example.org, Andrea Giammarchi <andrea.giammarchi@...>
> Weird environmen...
> On Mon, Feb 15, 2010 at 8:09 AM, soren.hilmer <sh@...> wrote:
> > Hi
> > Just ran i...
[Non-text portions of this message have been removed]