There are a lot of threads on here about how to configure IIS on Azure Web roles to enable static JSON files. I added the following snippet to the web.config file:
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
Also, when I RDP to the role, I can see that the extension is recognized by IIS.
I've also checked that the file is in /Scripts, where the webpage gets the rest of the .js files from, so it should be accessible.
Since all the solutions online involve editing the web.config file, I'm not sure how could I fix this problem. Thanks a lot in advance!