That's my point. By the time you hit "until it doesn't", you're already doing JSON, and were for a while.
Also, is "parse well if there's a missing bracket" even a desirable property? If you get files with mangled syntax, something has already gone horribly wrong. And, chances are, there is no way to parse them that would be correct.