Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mkubala
Created October 7, 2013 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkubala/5bf02056417096862d87 to your computer and use it in GitHub Desktop.
Save mkubala/5bf02056417096862d87 to your computer and use it in GitHub Desktop.
val config = ConfigFactory.load();
val extractedConfig: Config = config.getConfig("my.organization.team");
extractedConfig.getInt("avgAge") // => 26
extractedConfig.getStringList("members") // => [Aneta, Kamil, Lukasz, Marcin]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment