Merging objects in jq
is handled natively since 1.14.
Merge objects using jq
Given a file named example.json
|
|
and another file named example2.json
,
|
|
merging the two objects can be completed using:
|
|
Output:
|
|
Merging objects in jq
is handled natively since 1.14.
jq
Given a file named example.json
|
|
and another file named example2.json
,
|
|
merging the two objects can be completed using:
|
|
Output:
|
|