SectionedConfigurationDecoder
class SectionedConfigurationDecoder<T : SectionedConfiguration>( sectionedConfigurationType: KClass<T>, sectionedConfigurationTypeFactory: (Map<ConfigurationSection<*>, Any>) -> T, sections: List<ConfigurationSection<*>>) : NullHandlingDecoder<T>
Content copied to clipboard
Hoplite decode 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<*>>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun safeDecode( node: Node, type: KType, context: DecoderContext): ConfigResult<T>
Content copied to clipboard