ToJSON-global form or copy variables

Would be handy if the expression “ToJSON” could handle global variables, or had a “global form” as GlobalToJSON.

Maybe a better request would be a way to copy an entire structure variable inside another, since plus the ability to “convert” a global structure into a scene variable for ToJSON use, you would have a lot of new possibilities :slight_smile:
I think the last request has been already asked, but I can’t find it…

yes, this would be very welcome. Alot of people on this forum are wondering how to do game saving/loading and gdevelop does not even have a proper example of doing this with json/xml.

A command to simple transfer global values to a json and transfer the data from json back to global values would be very very welcome.

Doing this loading/saving of values to a group of objects would also be versy useful!