-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
as discussed on the mailing list, http://groups.google.com/group/nodejs/browse_thread/thread/1c0eac0ba0f04737/af9f180ac34ab264?lnk=gst&q=event-stream#af9f180ac34ab264
it would be great to get a streaming parser that could emit js objects as soon as they are available. this would greatly aid rapid responses to JSON apis.
most JSON apis return a response with an array of objects.
I propose emitting the elements of this array on the 'data' event.
I've forked this project and i'll see if I can get something working.
also, i've opened a similar issue here: creationix/jsonparse#1