summaryrefslogtreecommitdiff
path: root/lexer.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-02-04 15:37:15 +0100
committerJo-Philipp Wich <jo@mein.io>2018-02-04 15:37:15 +0100
commit8614470400daf36d9b189d9ea9085ef6e19afd0e (patch)
tree216d354d3010e42761b7ff467a15658e43e20ca0 /lexer.c
parentdea067ad67d977c247c300c06676a06adf21e0c7 (diff)
downloadjsonpath-8614470400daf36d9b189d9ea9085ef6e19afd0e.tar.gz
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 <jo@mein.io>
Diffstat (limited to 'lexer.c')
0 files changed, 0 insertions, 0 deletions