lzone-cheat-sheets icon indicating copy to clipboard operation
lzone-cheat-sheets copied to clipboard

jq: array concatenation requires arrays

Open auerswal opened this issue 1 year ago • 0 comments

The original example results in an error with message:

jq: error (at <stdin>:1): object ({"c":3}) and array ([{"a":1},{"...) cannot be added

Use three arrays as input data to allow concatenation. (Tested with jq version jq-1.5-1-a5b5cbe.)

auerswal avatar Aug 13 '22 10:08 auerswal