-
Notifications
You must be signed in to change notification settings - Fork 0
Json
Michał edited this page Mar 10, 2023
·
4 revisions
First, create a Json data variable using the Json() function
json1 = Json("test.json");
Next, read your desired value by it's key
Write("Value of key1: " + JsonRead(json1, "key"));
To write a simple Json file, use JsonWrite() passing the file name and a Dictionary with values
new Dictionary D1;
D1["kokos"] = 122;
D1["sosos"] = 133;
JsonWrite("tet.json", D1);
See the full example