merge multple json files as object values with jq
There are a number of example show you how to merge objects or combine arrays with jq. I haven't found any examples of merging json files in a single object. Here is how you would do that on the command line with jq. jq -n '{one:$variablename1, two:$variablename2}' --slurpfile variablename1 filename_one.json --slurpfile variablename2 filename_two.json