main: implement array mode
authorJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 14:37:15 +0000 (15:37 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 14:37:15 +0000 (15:37 +0100)
Implement a new option "-a" which turns on array mode, meaning that
the program will attempt to parse multiple consecutive JSON objects
from the source data and merge them into a JSON array.

This is mainly useful for operating on JSON log files with one object
per line.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

No differences found