Combine JSON files from a directory using jq
How to merge 2 or more json files into one array for all using terminal? Use jq! Navigate to the directory, and run this jq command.
1 |
jq -s '[.[][]]'*.json > manifest.json |
Using the -s option will return an array containing the contents of the input JSON files, … Continued