Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Spivak
on Nov 8, 2019
|
parent
|
context
|
favorite
| on:
Bad JSON Parsers
But what can you do instead? It’s a really hard problem to validate generic JSON without accidentally parsing it.
zeroimpl
on Nov 8, 2019
[–]
Validation better be done by the parser. Otherwise, subtle differences between the validator and the parser can lead to security flaws. Your solution is to make sure you use a good parser.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: