3 ms·
Nope, it stops itself at 100 levels with a JSON::NestingError. If you run it as JSON.parse(ARGF.read, max_nesting: false) you get 65492 instead of 101.
by loktarogar 7y ago
Nope, it stops itself at 100 levels with a JSON::NestingError.
If you run it as JSON.parse(ARGF.read, max_nesting: false) you get 65492 instead of 101.