onelson/jq-rs

Unpacking an array results in invalid output

JeanMertz opened this issue · 0 comments

Using the following program:

.[]

Using the jq CLI, this results in:

echo '[1,2,3]' | jq .[]
1
2
3

Using json-query results in:

"123"

I was expecting to get 1\n2\n3 back (which I could then call lines() on to iterate over the results).