Best way to create, access, edit, and delete Dictionaries globally?

Godot Version

Godot v4.6.1(Linux flatpak)

Question

I am currently working on something that is driven by making and accessing dictionaries throughout multiple scenes. Example would be making a to do list, and having it show up in a calendar. Or making a list for a randomizer, and saving the result for later use.

I’m not quite sure how to go about it. The lists need to have an identifier, be constantly available to pull up/reference or load dynamically, and can have keys deleted or created.

Should this be done with resources? JSON parsing into a global script?

I’m mostly looking for an overall summary of how someone would handle it. I don’t mind figuring things out on my own, but I think I’m misunderstanding what is and isn’t allowed throughout the types of data containers.

Yes. Resources are data containers so anything data related that is going to be serialized to disk should use them. You can also use RefCounted if there’s no need to serialization. More info: