On Sat, Nov 28, 2009 at 2:18 PM, Per Cederberg <
cede...@gmail.com> wrote:
> I just tried to modify MochiKit.Base.evalJSON() to use the new
> JSON.parse() function when available. This would give us the following
> advantages:
>
> 1. Speed (but, well... eval() is probably fast enough already)
> 2. Security
>
> Unfortunately we would also get a nasty regression issue due to the
> stricter syntax enforcement in JSON.parse() vs. eval().