4 ms·
I know it's only a tutorial but recursive function calls are a bad idea for a general purpose JSON parser. At the very least, limit the recursion depth. Otherwi
by nwellnhof 5y ago
I know it's only a tutorial but recursive function calls are a bad idea for a general purpose JSON parser. At the very least, limit the recursion depth. Otherwise, it's trivial to make the parser crash with a stack overflow.
- cpp2013wow 5y agoThat would require knowing how to iterate a tree without recursion, tough stuff. Hi dang, love our private chat.