A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.
A ConfigReader
derived with shapeless
.
A ConfigReader
derived with shapeless
.
the type of objects readable by this ConfigReader
A ConfigWriter
derived with shapeless
.
A ConfigWriter
derived with shapeless
.
the type of objects writable by this ConfigWriter
A type class to build ConfigReader
s for sealed families of case objects where each type is encoded as a
ConfigString
based on the type name.
A type class to build ConfigReader
s for sealed families of case objects where each type is encoded as a
ConfigString
based on the type name.
the type of objects capable of being read as an enumeration
A type class to build ConfigWriter
s for sealed families of case objects where each type is encoded as a
ConfigString
based on the type name.
A type class to build ConfigWriter
s for sealed families of case objects where each type is encoded as a
ConfigString
based on the type name.
the type of objects capable of being written as an enumeration
Macros used to circunvent divergence checker restrictions in the compiler.
Hint where the options are disambiguated by a key = "value"
field inside the config.
Hint where the options are disambiguated by a key = "value"
field inside the config.
This hint will cause derived ConfigConvert
instance to fail to convert configs to objects if the object has a
field with the same name as the disambiguation key.
By default, the field value written is the class or coproduct option name converted to kebab case. This mapping can
be changed by overriding the method fieldValue
of this class.
Hint where all coproduct options are tried in order.
Hint where all coproduct options are tried in order. from
will choose the first option able to deserialize
the config without errors, while to
will write the config as is, with no disambiguation information.
A ConfigReader
for generic representations that reads values in the shape of a config object.
A ConfigReader
for generic representations that reads values in the shape of a config object.
the original type for which Repr
is a generic sub-representation
the generic representation
A ConfigWriter
for generic representations that writes values in the shape of a config object.
A ConfigWriter
for generic representations that writes values in the shape of a config object.
the original type for which Repr
is a generic sub-representation
the generic representation
A trait that can be implemented to customize how case classes are read from and written to a config.
A trait that can be implemented to customize how case classes are read from and written to a config.
the type of case class for which this hint applies
A ConfigReader
for generic representations that reads values in the shape of a sequence.
A ConfigReader
for generic representations that reads values in the shape of a sequence.
the generic representation
A ConfigWriter
for generic representations that writes values in the shape of a sequence.
A ConfigWriter
for generic representations that writes values in the shape of a sequence.
the generic representation
Hint applicable to sealed families of case objects where objects are written and read as strings with their type names.
Hint applicable to sealed families of case objects where objects are written and read as strings with their type names. Trying to read or write values that are not case objects results in failure.
the type of the coproduct or sealed family for which this hint applies
(Since version 0.11.0) Use pureconfig.generic.semiauto.deriveEnumerationReader[T]
, pureconfig.generic.semiauto.deriveEnumerationWriter[T]
and pureconfig.generic.semiauto.deriveEnumerationConvert[T]
instead
An object that, when imported, provides implicit ConfigReader
and ConfigWriter
instances for value classes,
tuples, case classes and sealed traits.
An object that, when imported, provides readers and writers for shapeless HList
instances.
An object that provides methods for deriving ConfigReader
and ConfigWriter
instances on demand for value
classes, tuples, case classes and sealed traits.
A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.
the type of the coproduct or sealed family for which this hint applies