public JNFuelSummary(JSONObject json){
    	
    	this.key = new KeyNames();
    	try {
			if(!json.isNull(key.DAILY_GOAL_TARGET_VALUE))this.dailyGoalTargetValue = json.getInt(key.DAILY_GOAL_TARGET_VALUE);
	    	if(!json.isNull(key.CURRENT_STREAK))this.currentStreak = json.getInt(key.CURRENT_STREAK);
	    	if(!json.isNull(key.TOTAL_DAILY_GOALS_ACHIEVED))this.totalDailyGoalsAchieved = json.getInt(key.TOTAL_DAILY_GOALS_ACHIEVED);
	    	if(!json.isNull(key.LIFETIME_AVERAGE_FUEL_DAY))this.lifetimeAverageFuelDay = json.getInt(key.LIFETIME_AVERAGE_FUEL_DAY);
	    	if(!json.isNull(key.LIFETIME_AVERAGE_FUEL_WEEK))this.lifetimeAverageFuelWeek = json.getInt(key.LIFETIME_AVERAGE_FUEL_WEEK);
	    	if(!json.isNull(key.LIFETIME_AVERAGE_FUEL_MONTH))this.lifetimeAverageFuelMonth = json.getInt(key.LIFETIME_AVERAGE_FUEL_MONTH);
	    	if(!json.isNull(key.NUM_OF_ACTIVITIES))this.numOfActivities= json.getInt(key.NUM_OF_ACTIVITIES);
		} catch (JSONException e) {
			e.printStackTrace();
		}
    }