how to convert html table into json using payload code example
Example: html to json
fetch('https://www.example.com/index.html')
.then(res => res.text())
.then(html => console.log(html));
fetch('https://www.example.com/index.html')
.then(res => res.text())
.then(html => console.log(html));