function ShipCountry_Change() {
var country = $('#ShipCountry').val().toLowerCase();
for (var countrycode in dealersArray) {
if (countrycode == country) {
var options = ''
for (var citycode in dealersArray[countrycode].cities) {
options += '<option value="' + citycode + '" class="' + countrycode + '-states" data-coord="' + dealersArray[countrycode].cities[citycode].offices.latlang + '">' +
dealersArray[countrycode].cities[citycode].citytext + '</option>'
}
$("#ShipStates").html(options);
showHide()
return
}
}
}
axios.get('data.json', {
headers: {
'Content-Type': 'application/json'
},
transformResponse: function (req) { // Заменяем парсер на свой
return JSON.parse(req, function (key, value) {return (value == null) ? "" : value});
},
}).then(function(res) { /* тут уже имеем обработанный объект в res.data */ });
то владелец мессенджера в любом случае имеет потенциальный доступ как ключам шифрования