public static String serialize(Config config) {
ConfigObject serialized = config.root();
for (String prefix : CONFIG_PREFIXES_TO_IGNORE) {
serialized = serialized.withoutKey(prefix);
}
return serialized.render(ConfigRenderOptions.concise());
}
/**
* @param serialized serialized form of configuration as JSON-like data
* @return {@link Config} from the serialized config