config.setAsyncBackupCount(getInt(json, "asyncBackupCount"));
config.setEvictionPercentage(getInt(json, "evictionPercentage"));
config.setMinEvictionCheckMillis(getLong(json, "minEvictionCheckMillis"));
config.setTimeToLiveSeconds(getInt(json, "ttl"));
config.setMaxIdleSeconds(getInt(json, "maxIdle"));
config.setMaxSizeConfig(new MaxSizeConfig().setSize(getInt(json, "maxSize"))
.setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy.valueOf(getString(json, "maxSizePolicy"))));
config.setReadBackupData(getBoolean(json, "readBackupData"));
config.setEvictionPolicy(EvictionPolicy.valueOf(getString(json, "evictionPolicy")));
config.setMergePolicy(getString(json, "mergePolicy"));
}