cpe
12/05/2017, 7:20 PMApplicationConfig
?
I'd like to use an application config like this:
myconfig {
mymap = { "key1" : "value1", "key2" : "value2" }
}
However, I don't get how to access this, Using the debugger I can see that the map is nested in the HoconApplicationConfig -> SimpleConfigObject -> Map
Accessing the config:
val myConfigMap = environment.config.config("myconfig.mymap")
All further calls to config(String)
or property(String)
lead to exceptions and there are no other methods(?)
Any advice would be greatly appreciated.