How do I get the information from a JSON file to iterate in my Angular project?
I want to import the information from my JSON file. I do not know how to include the JSON file into an array.
I want the words "Abbey", "Abbeyard", "Abbeywood"
.... and so on to show up.
I have my JSON file in the same directory as my component.
Here is my JSON code
[
{
"ABBA RIVER": "ABBEY",
},
{
"ABBA RIVER": "ABBEYARD",
},
{
"ABBA RIVER": "ABBEYWOOD",
}
...