var request = new XMLHttpRequest() request.open('GET', 'json/renglones.json', true) request.onload = function() { // begin accessing JSON data here var info = JSON.parse(this.response) var list = document.getElementById("list"); for (var i = 0; i < info.length; i++) { var item = ons.createElement(`
${info[i].Renglones}
`); list.appendChild(item); } } request.send()