top | item 45571594

(no title)

tracnar | 4 months ago

Don't you need to wait for some kind of delimiter (like ",", "]", "}", newline, EOF) before parsing something else than a string?

discuss

order

rictic|4 months ago

Only for numbers! Strings, objects, arrays, true, false, and null all have an unambiguous ending.

stefs|4 months ago

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"}