Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rictic
33 days ago
|
parent
|
context
|
favorite
| on:
JSON River – Parse JSON incrementally as it stream...
Only for numbers! Strings, objects, arrays, true, false, and null all have an unambiguous ending.
stefs
33 days 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"}
rictic
32 days ago
|
parent
[–]
Oh this isn't about the public API, it's about the internal logic of the parser.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: