Hacker News new | ask | show | jobs
by rictic 241 days ago
Only for numbers! Strings, objects, arrays, true, false, and null all have an unambiguous ending.
1 comments

but you don't do this for strings either, as shown in the examples - partial strings are pushed even though they're not yet ended:

    {"name": "Ale"}
Oh this isn't about the public API, it's about the internal logic of the parser.