Re:Show HN: JSON5 — modern JSON
by erikpukinskis on Sunday May 27, 2012 @11:55PM
(#4031855)
Partly because JSON has the lovely feature of being able to just eval() it into an object in browsers.
[ Parent
| on HN ]
That's not really a lovely feature in this day and age. If anything it's an unfortunate artifact, as the right way to deserialize JSON is JSON.parse().
Re:Show HN: JSON5 — modern JSON
by alcuadrado on Monday May 28, 2012 @12:00AM
(#4031863)
That's not the right way to parse JSON, it's really insecure