To merge two json files one can use the following
$ jq -s '.[0] .[1]' file1 file2 > output.json
The contents of file2 take precedence over the contents of file1
September 8, 2019 ~ 1 min read
To merge two json files one can use the following
$ jq -s '.[0] .[1]' file1 file2 > output.json
The contents of file2 take precedence over the contents of file1
Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.