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.
2 parents 6b8c7e1 + f823c8c commit 00335bdCopy full SHA for 00335bd
1 file changed
streamerbot/3.api/3.csharp/0.guide/1.variables.md
@@ -145,6 +145,10 @@ public class TestClass
145
List<TestClass> testList = new List<TestClass>(){...};
146
string jsonSaveString = JsonConvert.SerializeObject(testList);
147
CPH.SetGlobalVar("savingClass", jsonSaveString, true);
148
+
149
+//... Deserializing saved JSON string
150
+string savedString = CPH.GetGlobalVar("savingClass", true);
151
+List<TestClass> savedList = JsonConvert.DeserializeObject<List<TestClass>>(savedString);
152
```
153
154
## Special Arguments
0 commit comments