I've been searching around to see if anyone's brought this up already
- I haven't found anything (which surprises me) so my apologies if
this is a repeat.
Browsers are slowly starting to support native JSON - I know in
particular Firefox 3.5 (released today) supports it and I'm under the
impression (although I haven't really done my homework on this one)
that some others already support it, or are working towards it. Are
there any plans to change the GWT JSONParser to use native JSON
parsing instead of the slower and less-safe "eval" function? A very
simple check along the lines of
if (undefined != JSON)
{
JSON.parse(myString);
}
else
{
eval('(' + myString ' + ')');
}
ought to do it, right?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---