I am merging two json files using \"jq -s . file1 file2\", but I want them to get merged without comma separation. Also it shouldn\'t start with []
file 1:
One option slong the lines of your attempt:
jq -s add file1 file2
Another:
jq -n 'input+input' file1 file2