Open jmdelahanty opened 1 year ago
It turns out if you do:
with open("/path/to/filename/", "r") as f:
x = json.load(f)
It works. Doing it like:
x = json.load(f)
Does not.
Not sure yet why MATLAB isn't doing it right. Once that's solved I'll close this.
It appears that loading the configuration files is broken. Something in my json dump is incorrect. It's likely this has been happening the entire time the library has been in use. Embarrassing.
When you try and load it in Python, you get this error:
MATLAB encounters a similar error, which is currently solved by a workaround Hao wrote. I found out about this workaround a couple days ago. When I was first testing things I didn't encounter this problem. Checking with online json validators appears to register the file as a valid json file/correctly written json.