I want to raise a problem that I have and I do not see an apparent solution on the internet. I have an .json file with this format:
[{"id":"hola"}, {"id":"adios"}]
When I want to collect this data in JS like I do
var id= JSON.parse(AQUI QUE PONGO);
I know if in the json file I put a name to the array and then I apply JSON.parse works for me. But I do not want to do it this way. Thanks and regards