I have a JSON file which is a "database", since I still do not have knowledge of that type.
{
"words": [
{
"id": 1,
"word": "Silla",
"principal": "http://pngimg.com/uploads/chair/chair_PNG6860.png",
"engword": "Chair",
"engimg": "Imagen de ingles",
"deuword": "Stuhl",
"deuimg": "Imagen de aleman"
},
{
"id": 2,
"word": "Gilbert",
"principal": "http://pngimg.com/uploads/chair/chair_PNG6860.png",
"engword": "Chair",
"engimg": "Imagen de ingles",
"deuword": "Stuhl",
"deuimg": "Imagen de aleman"
}
]
}
That's my JSON file and I'd like to convert it to JS or something similar so I can edit it using my React components.