Re:JSON: The JavaScript subset that isn't
by burgerbrain on Sunday May 15, 2011 @03:51PM
(#2550652)
Wouldn't using eval to parse JSON be quite hazardous in the same way as python's pickle, and thus be limited to pretty specific use-cases (limited moreso than just simply to JS)?
[ Parent
| on HN ]
It used to be quite common and is still done (and is required for the hack known as JSONP); lots of the time you're retrieving JSON from the same server you loaded the original page from so it's safe.