JSONArray historyArray = response.getJSONArray("history");
history = new History[historyArray.length()];
for (int i = 0; i < historyArray.length(); i++) {
history[i] = new History();
JSONObject jsonHistory = historyArray.getJSONObject(i);
if (jsonHistory == null) {
continue;
}