jp icon indicating copy to clipboard operation
jp copied to clipboard

Create JSON array from matches

Open cburgmer opened this issue 5 years ago • 0 comments

An alternate output mode would be helpful to pass on one JSON array with all the matches:

$ echo '[1, 2, 3, "nice"]' | jp -j '$.*'
[1, 2, 3, "nice"]

cburgmer avatar Jul 01 '20 12:07 cburgmer