lzone-cheat-sheets
lzone-cheat-sheets copied to clipboard
jq: array concatenation requires arrays
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.)