I have a folder with a number of JSON files within it.
I want to take all .json files, where the filename ends with _LAST.json, and combine them into one JSON file. Each of the files that are to be processed are named like:
Bill_LAST.json
Jane_LAST.json
Kitty_LAST.json
Bill_LAST.json looks like:
[{
"Date": "2012-11-19",
"Name": "Bill",
"Age": 54,
"Sex": "M"
}]
It could be as simple as:
Here is a working demo.