I would like to convert the stream of objects:
{"a": "green","b": "white"}{"a": "red","c": "purple"}
into one object:
{"a": "red","b": "white","c": "purple"}
Also, how can I wrap the same sequence into an array?
[ {"a": "green","b": "white" }, {"a": "red","c": "purple" }]
Sadly, the manual is seriously lacking in comprehensiveness, and googling doesn't find the answers either.