Printing JSON files from the device to HTML


I’ve made this code that creates a JSON file with some info in it.

let getInfo = JSON.stringify({
  status :;

File.write(getInfo, "info.json");

so the result is now inside the device

Is it possible to print the JSON data that’s inside the device to html?


how is the HTML going to be delivered?


I want to make a status log with index.html using the WiFi IP from ESP8266. The result would be such as the link below. It just needs to be printed on the homepage

If it’s too complicated to print the JSON file inside the device, then is there a way to save the JSON file to the computer’s directory folder?