News for hackers. Stuff that matters.
Re:Bad JSON Parsers by Spivak on Friday November 08, 2019 @12:19PM (#21484370)
But what can you do instead? It’s a really hard problem to validate generic JSON without accidentally parsing it.
Re:Bad JSON Parsers by zeroimpl on Friday November 08, 2019 @02:15PM (#21485682)
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.