plywood-druid-requester
plywood-druid-requester copied to clipboard
[Question] Why streaming json parsing is needed?
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?