To anyone that might experience this same issue, the following are the solutions that worked for me.
First, make sure if the resource you’re trying to load do exists. As pointed by FichteFoll this can be done by running the code below to the console:
list must include the path to your resource file, in my case
Now into the solution.
If on the module level function call
Otherwise, use a callback to load the JSON and pass that to
load_data_delay = 1000 # milliseconds
For some reason, using
ResourcePath as suggested by ThomSmith gives me an
ImportError: No module named 'sublime_lib' error.