Re:Parsing JSON is a Minefield
by mikeash on Wednesday October 26, 2016 @11:49AM
(#12797461)
If you meant that it would throw or return an error on malformed input, I totally agree. You must always handle errors that your calls might return, and especially when those calls are given anything derived from outside input.
[ Parent
| on HN ]
Yes, generally, and specifically that failure to handle this type of error can cause all sorts of plague, pestilence, and application compromise.