public DataItem(JSONObject j) { json = new JSONObjectExt(j); id = json.getLong("Id", -1l); date = json.getString("Timestamp", Utils.DATETIME.format(new Date())); }