I have an external file contacts.json. How I can convert it to a javascript array?
this is the contacts.json content:
{
"ppl1":{
"Name":"Jhon",
"Surname":"Kenneth",
"mobile":329129293,
"email":"[email protected]"
},
"ppl2":{
"Name":"Thor",
"Surname":"zvalk",
"mobile":349229293,
"email":"[email protected]"
},
"ppl3":{
"Name":"Mila",
"Surname":"Kvuls",
"mobile":329121293,
"email":"[email protected]"
}
}