3 ms·
JSON parsers have a much smaller 'feature surface' meaning that there are fewer nooks and crannies for bugs to live in. One example of a bug that often festere
by crdoconnor 9y ago
JSON parsers have a much smaller 'feature surface' meaning that there are fewer nooks and crannies for bugs to live in.
One example of a bug that often festered in XML parsers: https://en.wikipedia.org/wiki/Billion_laughs https://en.wikipedia.org/wiki/Billion_laughs (there is no JSON equivalent of this)
The generalized theory, for those interested : https://en.wikipedia.org/wiki/Rule_of_least_power https://en.wikipedia.org/wiki/Rule_of_least_power