R/fct_files.R
write_json_file.Rd
The function will overwrite the current events.json file and replace it with one generated from the supplied list of events
write_json_file(site, block, event_list, base_folder = json_file_base_folder())
The site of the events
The block of the events
The list of events to write to the events.json file
Included for testing reasons, the default value should otherwise be used