Y
Hacker News
new
|
ask
|
show
|
jobs
by
jonathrg
96 days ago
The JSON types are string, number, boolean, null, object and array. So how could the suggested code possibly work? Do you want JSON.parse to do arbitrary code execution like Python's pickle?