HoconBuilder

class HoconBuilder

Builder of the Hocon instance provided by Hocon factory function.

Properties

Link copied to clipboard
var classDiscriminator: String

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

Link copied to clipboard
var encodeDefaults: Boolean

Specifies whether default values of Kotlin properties should be encoded. false by default.

Link copied to clipboard
var serializersModule: SerializersModule

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

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.

Link copied to clipboard
var useConfigNamingConvention: Boolean

Switches naming resolution to config naming convention: hyphen separated.