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 cce13d9 commit d35d60cCopy full SHA for d35d60c
1 file changed
streamerbot/3.api/3.csharp/0.guide/1.variables.md
@@ -147,7 +147,7 @@ string jsonSaveString = JsonConvert.SerializeObject(testList);
147
CPH.SetGlobalVar("savingClass", jsonSaveString, true);
148
149
//... Deserializing saved JSON string
150
-string savedString = CPH.GetGlobalVar("savingClass", true);
+string savedString = CPH.GetGlobalVar<string>("savingClass", true);
151
List<TestClass> savedList = JsonConvert.DeserializeObject<List<TestClass>>(savedString);
152
```
153
0 commit comments