I've been stuck on this for like an hour and I just can't find my mistake even though it has to be somewhere since I know json.load loads the json file into the dictionary and json.dump copies the dictionary to the .json file p.s the dump does work but the load returns an empty dict
I tried to read the file conventionally and then use the .loads function, did the same thing
prefix = json.load(open('file.json', 'r'))
print("Prefixes currently are:"+str(prefix)) # prints {} even though the file includes : {"551475283459309599": "!", "557678616054464512": "!", "558760765348249609": "!", "559361893861556240": "%"}
I expected it to just do what it should (load the dict or a string or something but it loads nothing)