Corrupted data restore solution

Today I encountered a serious problem after launching my project. My json files appeared empty and contained only this � character instead of code. I still haven't figured out what caused the problem, but luckily I found the workaround.

I searched the whole forum looking for a solution to my problem, and google search did not help, until I typed the perfect prompt phrase "restore damaged json file" and it brought me to a list of programs that can be downloaded. I probably won't name them, so it doesn't sound like an advertisement, but I chose the first one on the list. In the end, it turned out that after running the program, I selected my corrupted map and was able to restore it to its previous state when it was working and had the code instead of blank spaces;

I decided to write this post for all those who, like me, may have encountered or will encounter this problem. Maybe your files can still be recovered. Thank you for your attention.

P.S. I wasn't sure of the best place to put this post, so I chose support. I apologize if this is the wrong topic. If the moderators don't mind, I can name the program I used. Although I think there are alternatives to it. The main thing is to use right words during the search.
Im glad you found a working solution. Here's my PSA to add on.
An ounce of prevention is worth a pound of cure. Dont forget to take the time to back up your project every so often. Even a week old backup saves you much more work than nothing in the event anything becomes unrecoverable

Original thread: https://forums.rpgmakerweb.com/threads/corrupted-data-restore-solution.165263/