I'm trying to make a dynamic table from a JSON file. The problem is that I want the headers of each column to be the name of the field. I mean, I have the JSON file:
"articulos": [
{
"nombre": "Camiseta",
"talla": "XL",
"descripcion": "100% Algodon"
}]
Well, I need the first row of the table to be " nombre
", " talla
" and " descripcion
". I have searched everywhere but I only find how to access the attributes. I appreciate the help in advance.