Re:Bad JSON Parsers
by anoncake on Friday November 08, 2019 @12:15PM
(#21484312)
Documented or not, you shouldn't rely on the lib only throwing JSONDecodeError in security-critical code.
[ Parent
| on HN ]
But what can you do instead? It’s a really hard problem to validate generic JSON without accidentally parsing it.