Przeczytaj plik JSON do tablicy JavaScript
$.getJSON('contacts.json', function (json) {
var array = [];
for (var key in json) {
if (json.hasOwnProperty(key)) {
var item = json[key];
array.push({
name: item.Name,
surname: item.Surname,
mobile: item.mobile,
email: item.email
});
}
}
});
Magnificent Millipede