How to load a JSON file at Runtime?

But what JS command do you use to read the json file?

fetch("test.json")
  .then(response => response.json())
  .then(json => console.log(json));