HoconBuilder

class HoconBuilder

Builder of the Hocon instance provided by Hocon factory function.

Properties

classDiscriminator
Link copied to clipboard
var classDiscriminator: String

Name of the class descriptor property for polymorphic serialization. "type" by default.

serializersModule
Link copied to clipboard
var serializersModule: SerializersModule

Module with contextual and polymorphic serializers to be used in the resulting Hocon instance.

useArrayPolymorphism
Link copied to clipboard
var useArrayPolymorphism: Boolean

Switches polymorphic serialization to the default array format. This is an option for legacy polymorphism format and should not be generally used. false by default.

useConfigNamingConvention
Link copied to clipboard
var useConfigNamingConvention: Boolean

Switches naming resolution to config naming convention: hyphen separated.