Skip to content

emitting objects as they are parsed #4

@dominictarr

Description

@dominictarr

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions