kellyjonbrazil / jc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
MIT License
7.92k stars 210 forks source link

feature multiline parser #588

Open DEvil0000 opened 2 months ago

DEvil0000 commented 2 months ago

read line by line into json array. with or without trailing new line.

example input file: aaaaa aa aaa bbbb bb b b

example json: ["aaaaa aa aaa", "bbbb bb b b"]