News for hackers. Stuff that matters.
Re:Json ⊄ js by rpearl on Friday December 28, 2012 @12:00AM (#4976497)
I have to comment on this line:

> Some libraries implement an unsafe, but fast, JSON parse using “eval” for older browsers

eval is not fast! In fact it is the opposite of fast. Most JIT optimizations go away in the face of eval()! Do not use it even if you know it's safe. Use JSON.parse instead.

Re:Json ⊄ js by shod on Friday December 28, 2012 @10:07AM (#4977936)
"Older browsers" means those that predate native JSON methods. Libraries often use eval() as a fallback.