Load Json Into Dictionary
To load a json into a dictionary we can use the following code:
var data: Dictionary
var file: File = File.new()
if file.open("res://assets/weapons.json", File.READ):
printerr("Error opening weapons json")
data = JSON.parse(file.get_as_text()).result
file.close()