From: Jo-Philipp Wich Date: Sun, 4 Feb 2018 14:37:15 +0000 (+0100) Subject: main: implement array mode X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fjsonpath.git;a=commitdiff_plain;h=8614470400daf36d9b189d9ea9085ef6e19afd0e;hp=8614470400daf36d9b189d9ea9085ef6e19afd0e main: implement array mode 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 ---