shenek / streamson

Memory efficient handling of large JSON data.
MIT License
4 stars 0 forks source link

Merge strategies for streamson-bin #134

Open shenek opened 4 years ago

shenek commented 4 years ago

Try to think of a way how to merge output of two (or more) JSON streams using streamson-bin. First stream:

{"name": "carl"}
{"name": "bob"}

Second stream:

{
  "users": [...]
}

-> (with {"users"}[] matcher)

{
  "users": [{"name": "carl"}, {"name": "bob"}]
}
shenek commented 3 years ago

For starters streamson could be able to merge all input jsons into an arrray.