Hands-on task
This task is step 11 of the course “JSON, YAML and XML in the terminal”
jq: merge two objects
There is a base config /root/base.json and overrides /root/override.json. Merge them into a single object so that values from override.json win on key conflicts, and write the result to /root/merged.json.
Reference:jq
What you'll practise:
- jq
- json merge
- recursive merge
- slurp
- configs