Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
erikpukinskis
on May 28, 2012
|
parent
|
context
|
favorite
| on:
Show HN: JSON5 — modern JSON
Partly because JSON has the lovely feature of being able to just eval() it into an object in browsers.
chc
on May 28, 2012
|
next
[–]
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().
alcuadrado
on May 28, 2012
|
prev
|
next
[–]
That's not the right way to parse JSON, it's really insecure
Too
on May 28, 2012
|
parent
|
next
[–]
And slow, JSON.parse is magnitudes faster than using user-javascript to parse it yourself.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: