Can't edit a .json file, am I missing something

Total Linux noob here, I try to edit a .json file for a game which isn't working properly. I try to edit the file with Kate, I can put in my new code, save it and it shows up correctly upon opening it again. But when I launch the game, my code is deleted. Can someone help me out here?
Was this page helpful?