I've noticed that in the game Minecraft, there are many .json files inside that each specify a single thing (e.g. there is a file for every advancement). Now, I know Java and GDScript are both very different things, but I am still puzzled by one question that I feel still stands in GDScript.
Why not just make variables for each of these, instead of files, inside a script?
Basically, what I am asking is if it is a good idea to use this practice in Godot.