Decode the value in config
at path
as type A
.
Decode the value in config
at path
as type A
.
Create a new FromConf
by mapping f
over a decoded value.
Create a new FromConf
by mapping f
over a decoded value.
If an exception is thrown in in the call to f
, the exception will
be rethrown as a WrongType
, specifying the path and cause.
Type class for decoding a ConfigObject directly. Generally useful for decoding case classes and other types which have a
LabelledGeneric
instance from configs.