SectionedConfigurationDecoder
class SectionedConfigurationDecoder<T : SectionedConfiguration>(sectionedConfigurationType: KClass<T>, sectionedConfigurationTypeFactory: (Map<ConfigurationSection<*>, Any>) -> T, sections: List<ConfigurationSection<*>>) : Decoder<T>
Hoplite decoder for SectionedConfiguration.
Note that this decoder is not loaded automatically. You need to manually add it to the Hoplite builder with the sections you are interested in.
Constructors
Link copied to clipboard
fun <T : SectionedConfiguration> SectionedConfigurationDecoder(sectionedConfigurationType: KClass<T>, sectionedConfigurationTypeFactory: (Map<ConfigurationSection<*>, Any>) -> T, sections: List<ConfigurationSection<*>>)