I'm using a json file to store assets such as dialogues, sprites, and sounds. This A.P.I was built to take the data from the file and print into the output; but the out put keeps churning out null and i don't know how to fix it.
extends Node
var data = {}
var path = "res://Json_Files/test_file1.json"
export (String, FILE) var json_file = null
func _ready():
var jsonfile = File.new()
jsonfile.open(path, File.READ)
data = parse_json(jsonfile.get_as_text())
print(data)