Given a JSON object
{"foo":["barfoo"],"bar":["foobar"]}I would like to merge both arrays, i.e. output:
barfoofoobarObviously I can list either array using, e.g. jq -r .foo[] but I'm not sure how to go about merging both.
The array names (foo / bar) are constants, they do not change.