Package com.typesafe.config

Examples of com.typesafe.config.ConfigObject.render()


  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
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.