Decodes configuration values from a first type to a second type.
- Companion:
- object
Value members
Abstract methods
Attempts to decode the specified value to the second type.
Attempts to decode the specified value to the second type.
The key may be used for improved error messages. The key is present for a single configuration value, and missing for default values and composed values.
- See also:
ConfigError.decode for creating decode errors
Concrete methods
Returns a new ConfigDecoder which attempts to decode values to the specified type.
Returns a new ConfigDecoder which attempts to decode values to the specified type.
Returns a new ConfigDecoder which successfully decodes values for which the specified partial function is defined.
Returns a new ConfigDecoder which successfully decodes values for which the specified partial function is defined.
Returns a new ConfigDecoder which applies the specified function on the value before decoding.
Returns a new ConfigDecoder which applies the specified function on the value before decoding.
Returns a new ConfigDecoder using the specified function whenever the value is successfully decoded.
Returns a new ConfigDecoder using the specified function whenever the value is successfully decoded.
Returns a new ConfigDecoder which applies the specified function on successfully decoded values.
Returns a new ConfigDecoder which applies the specified function on successfully decoded values.
Returns a new ConfigDecoder which successfully decodes
values for which the specified function returns Right.
Returns a new ConfigDecoder which successfully decodes
values for which the specified function returns Right.
Returns a new ConfigDecoder which successfully decodes
values for which the specified function returns Some.
Returns a new ConfigDecoder which successfully decodes
values for which the specified function returns Some.
Returns a new ConfigDecoder which redacts sensitive details from error messages.
Returns a new ConfigDecoder which redacts sensitive details from error messages.