Oct-23-2017, 10:07 AM
You cannot add to the json file. You can collect all the information in memory in a single data structure and dump it to a file. If file already exists from previous runs of the script and you want to add to it, you need to load it first, update in memory and overwrite it.