Why JSON files sometimes fail after Save?
Posted: Fri Sep 12, 2025 1:41 pm
I keep getting this problem constantly, and I dont know where the problem actually is.
But quite often when I do something with my JSON-file, and I then try run my Hollywood program that uses the JSON-file, I start getting this: "Error deserializing item!".
And this happens even there is no apparent error in my JSON file.
To give example, I just altered my JSON-file to try a new thing, and I got the error. Then I used "Undo"-option, to get back all the way to the same it was, saved, and yet, I still get the Deserialize error again.
Therefore I suppose the error happens when saving the file. I have used Visual Studio Code to edit the file, and also used the Save As, and used the option "JSON file", and yet still it keeps getting the deserialize problem.
What is the root cause of the problem, since this keeps happening, regardless if I use Hollywood or Visual Studio Code to save the file.
But quite often when I do something with my JSON-file, and I then try run my Hollywood program that uses the JSON-file, I start getting this: "Error deserializing item!".
And this happens even there is no apparent error in my JSON file.
To give example, I just altered my JSON-file to try a new thing, and I got the error. Then I used "Undo"-option, to get back all the way to the same it was, saved, and yet, I still get the Deserialize error again.
Therefore I suppose the error happens when saving the file. I have used Visual Studio Code to edit the file, and also used the Save As, and used the option "JSON file", and yet still it keeps getting the deserialize problem.
What is the root cause of the problem, since this keeps happening, regardless if I use Hollywood or Visual Studio Code to save the file.