Sunday, October 25, 2009

Re: Native JSON and safe parsing implementation

On 25 oct, 13:28, Brendan <bcke...@gmail.com> wrote:
> Great!
>
> stringify seems like it would make things even messier, but I guess
> (though I'd have to look) if JSON is natively supported then the
> browser vendor also has e.g. Date.prototype.toJSON() defined as well.
>
> I look forward to seeing your code! especially that last case.

Patch sent for review at http://gwt-code-reviews.appspot.com/86803

stringify() is only implemented for JSOs (because application/json can
only be an object or array; contrary to what JSON.stringify() accepts/
produces, per ECMAScript 5)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate