Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Why streaming json parsing is needed? #6

Open
0ctopus13prime opened this issue Nov 6, 2017 · 0 comments
Open

[Question] Why streaming json parsing is needed? #6

0ctopus13prime opened this issue Nov 6, 2017 · 0 comments

Comments

@0ctopus13prime
Copy link

0ctopus13prime commented Nov 6, 2017

Hi~!

My team is currently using this library in middle ware api server (Node js <-> Druid cluster)
And i found when druid cluster return it's result as series of chunks and druid requester
parsing chunks using 'combo' library. (straming json parsing)

I wonder why not just gather all chunks from druid to string and parse combined string to object using native JSON.parse?

Is there reason for using streaming json parse library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant