This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GUI Composer: How to load JSON file into project



Hello,

I am trying to create a standalone web app using GUI Composer; the program does not connect to any device. I need to read some parameters in JavaScript from a JSON file. The file is included in my project, but I have not been able to access it for parsing.

It's my understanding that I need the require() function to do this? How can I import this function and parse the JSON?

Thanks