public void loadPreviousConfiguration(String configDir) {

        Path defaultConfigPath = getConfigPath();
        Path fileName = defaultConfigPath.getFileName();

        String userHome = System.getProperty("user.home");
        Path resolvedConfigPath = Paths.get(userHome).resolve(configDir).resolve(fileName);

        loadPrevious(resolvedConfigPath);
    }
Creates a JSON object which represents the current configuration of this object.
The JSON object is e.g. used when saving the configuration to a file.  
@return a JsonObject representing the current state of the configuration
src/main/java/com/kodedu/config/ConfigurationBase.java