jill/src/main/java/io/github/agentsoz/jill/util/ArgumentsLoader.java
static Config loadConfigFromString(String str) {
    Gson gson = new Gson();
    Config config = null;
    try {
      config = gson.fromJson(str, Config.class);
    } catch (JsonSyntaxException e) {
      abort("Invalid JSON syntax in " + str + ": " + e.getMessage());
    }
    return config;
  }
static Config loadConfigFromString(String str) {
    Gson gson = new Gson();
    Config config = null;
    try {
      config = gson.fromJson(str, Config.class);
    } catch (JsonSyntaxException e) {
      abort("Invalid JSON syntax in " + str + ": " + e.getMessage());
    }
    return config;
  }
Loads the Jill startup configuration object. <p> Configuration is specified at run time via one
of the following two options: <ul> <li>{@code --config <string>}</li> <li>
{@code --configfile <file>}</li> </ul> The contents of {@code <string>} or {@code <file>} are
parsed in exactly the same way. The expected syntax is JSON format. If both options are
specified, then last specified option will overrule. </p>

@return the Jill startup configuration object