'How can I use the data of a .json-file in a static, frontend-only application

I work on a frontend-only application that works with a data-list. Currently, this list is stored in a js-array, but i would like to put it into a json file. How can i use this .json without a backend or api-call?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source