We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d513236 commit a0ef8e6Copy full SHA for a0ef8e6
Visual Studio Projects/ZWaveJS.NET/ZWaveJS.NET/ZWaveOptions.cs
@@ -20,6 +20,16 @@ public ZWaveOptions()
20
21
}
22
23
+ public string Serialize()
24
+ {
25
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
26
+ }
27
+
28
+ public static ZWaveOptions FromSerialized(string JSON)
29
30
+ return Newtonsoft.Json.JsonConvert.DeserializeObject<ZWaveOptions>(JSON);
31
32
33
public CFGTimeouts timeouts { get; set; }
34
public CFGAttempts attempts { get; set; }
35
public CFGLogConfig logConfig { get; set; }
0 commit comments