why am i missing Syntax?
im watchign a tutorial that is teaching me how to save stuff in a json file and then in the tutorial he procedeed to use Syntax that i dont have, and when i do it gives me an error
.csproj file
Newtonsoft.Json since JSON serialization is built-in now.csproj file it is.csproj.csprojNewtonsoft.Json public static async Task SaveXP()
{
string json = JsonConvert.SerializeObject(XP, Formatting.Indented);
await File.WriteAllTextAsync("Saved_XP.json", json);
}