I'm trying to save a dictionary to a file
and load the contents of the same to a Dictionary Object.I'm appending the dictionary to a file using the following code
string json = JsonConvert.SerializeObject(dict);
File.AppendAllText("config.fcj", json);
But while loading i keep getting the following error.
Additional text encountered after finished reading JSON content: {. Path '', line 1, position 375.
Do i need to add a New Line after each save ?