How to upload a Json file

I would like to upload my project to Gdevelop But I have a Json file that I am trying to read . It is supposed to be located near the Index file.
How to i upload it ?
Do I have to do export it manually and upload it to a private web hosting with the Json file?

Found a solution I hope it the right one:
I edited the Game.json file and added this to the resource section :

“alwaysLoaded”: false,
“file”: “data.json”,
“kind”: “json”,
“metadata”: “”,
“name”: “data.json”,
“smoothed”: true,
“userAdded”: true

The data.json file was uploaded to, and I was able to read from it.

1 Like