News for hackers. Stuff that matters.
Re:Parsing JSON Is a Minefield (2016) by detaro on Monday October 11, 2021 @11:55AM (#28829736)
> Basically, the answer to all your problems is to use an evented parser instead of a deserializer.

Which "nobody" does, so it is a problem in practice.

Re:Parsing JSON Is a Minefield (2016) by throw_m239339 on Monday October 11, 2021 @12:06PM (#28829854)
> Which "nobody" does, so it is a problem in practice.

who's nobody? if developers care about performances, they obviously do. What if the json file is 500MB of logs? Furthermore, all these JSON deserialization lib tricks might work in some languages that are dynamic or support runtime reflection, it doesn't for other languages where using a proper evented parser is mandatory.