this
<error>
using Newtonsoft.Json;
c# private static readonly string LoginDataPath = "login.json"; public class LoginData { public string Login { get; set; } public string System { get; set; } public string Gateway { get; set; } public string Password { get; set; } public void Save() { var json = JsonConvert.SerializeObject(this, Formatting.Indented); File.WriteAllText(LoginDataPath, json); } public static LoginData Load() { var json = File.ReadAllText(LoginDataPath); var loginData = JsonConvert.DeserializeObject<LoginData>(json); return loginData; } }
?? new
=