I'm using Newtonsoft.JSON to parse JSON files.
This is a JSON file I'm using:
[
{
"FilePath" : "C:\Users\Administrator\Desktop\dummyFile.txt",
"DisplayName" : "Dummy File"
}
]
And I get the following error saying that it couldn't properly parse "\U" (from C:\Users.....) at
JsonTextReader reader = new JsonTextReader(new StringReader(File.ReadAllText(gamelist, Encoding.Unicode)));
while (reader.Read())
{
//do stuff here