Deserialization
Official docs of Skript-gson
Examples of data deserialization
Getting data from a file:
on load:
map json from (new json from file "plugins/YourAwesome/test.json") to {_json::*}
set {_e} to {_json::*}'s formon load:
set {_example::myData} to json {"some": false}
broadcast {_e::*}'s formLast updated
Was this helpful?