Re: [WebIDL] toJSON

>
> 2. Does it make sense as an API design guideline to, for all objects
>   that have a toJSON extension, try to have constructors that can take
>   a JSON objects to initialize the object with?  For example:
>

IMO, no.  It doesn't make sense for the DOM performance object, for
instance.

- Kyle

Received on Wednesday, 6 June 2012 01:38:25 UTC