ynqa / jnv

Interactive JSON filter using jq
MIT License
4.9k stars 54 forks source link

ENH: Add `-s` slurp mode, turning json-lines into an array #29

Open corneliusroemer opened 7 months ago

corneliusroemer commented 7 months ago

JQ has a neat mode --slurp that reads a new-line delimited json into an array so that one can use the usual syntax on that sort of file. See for example: https://eureka.redwill.se/jq-slurp/

Would be cool if jnv supported that.