I have a sample file relative.json with the following entries:
{
"RELATIVES": [
{
"Name": "Ram",
"Country": "India",
"Phone": "111111111",
},
{
"Name": "James",
"Country": "US",
"Phone": "111111111",
},
{
"Name": "Robin",
"Country": "UK",
"Phone": "111111111",
},
{
"Name": "Shyam",
"Country": "India",
"Phone": "111111111",
},
{
"Name": "Jon",
"Country": "US",
"Phone": "111111111",
}
]
}
I am looking to write a simple code to read all these entries, put it into a variable and echo it eg. Relative Name is Ram from India and phone# 111111111 Relative Name is James from India and phone# 111111111 Relative Name is Robin from India and phone# 111111111
I am very new to jquery, but good at the shell. Please help me to write this
jqto parse JSON.