I have a json object which I wish to traverse to list all the data stored in an html. I would like to know how I can do it using native JS (without frameworks).
This is the JSON object
{"centros_educativos": [{"colegio":"colegio 1", "alumnos":[{ "nombre":"pedro" },{ "nombre":"juan"} ]}, {"colegio":"colegio 2"}] }