Skip to content

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

@0ctopus13prime

Description

@0ctopus13prime

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions