Upon editing the json file to simulate a corrupted file event, so long as a single field in the entire json file is corrupted with an invalid character, the application no longer reads the file and all data is lost. This is may be troublesome for the user and can consider only skipping entries that contain invalid fields instead of skipping the entire json file and starting up an application with no entries from scratch
Upon editing the json file to simulate a corrupted file event, so long as a single field in the entire json file is corrupted with an invalid character, the application no longer reads the file and all data is lost. This is may be troublesome for the user and can consider only skipping entries that contain invalid fields instead of skipping the entire json file and starting up an application with no entries from scratch