ConfigDecoder

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

final def apply[A]: ConfigDecoder[A, A]

Returns a new ConfigDecoder for the specified type without performing any kind of decoding. Alias for the ConfigDecoder.identity function.

Returns a new ConfigDecoder for the specified type without performing any kind of decoding. Alias for the ConfigDecoder.identity function.

final def apply[A, B](implicit decoder: ConfigDecoder[A, B]): ConfigDecoder[A, B]

Returns a ConfigDecoder instance between the two specified types if an instance is available.

Returns a ConfigDecoder instance between the two specified types if an instance is available.

final def identity[A]: ConfigDecoder[A, A]

Returns a new ConfigDecoder for the specified type without performing any kind of decoding.

Returns a new ConfigDecoder for the specified type without performing any kind of decoding.

final def instance[A, B](decode: (Option[ConfigKey], A) => Either[ConfigError, B]): ConfigDecoder[A, B]

Returns a new ConfigDecoder which decodes values using the specified function, with access to the key.

Returns a new ConfigDecoder which decodes values using the specified function, with access to the key.

If the decode function does not need access to the key, then we can use ConfigDecoder.lift instead.

final def lift[A, B](decode: A => Either[ConfigError, B]): ConfigDecoder[A, B]

Returns a new ConfigDecoder which decodes values using the specified function.

Returns a new ConfigDecoder which decodes values using the specified function.

If the decode function needs access to the key, then we can use ConfigDecoder.instance instead.

Implicits

Implicits

final implicit def configDecoderContravariant[B]: Contravariant[ConfigDecoder]
final implicit def configDecoderMonadError[A]: MonadError[[_] =>> ConfigDecoder[A, _$10], ConfigError]
final implicit def identityConfigDecoder[A]: ConfigDecoder[A, A]
final implicit val stringBigDecimalConfigDecoder: ConfigDecoder[String, BigDecimal]
final implicit val stringBigIntConfigDecoder: ConfigDecoder[String, BigInt]
final implicit val stringBooleanConfigDecoder: ConfigDecoder[String, Boolean]
final implicit val stringByteConfigDecoder: ConfigDecoder[String, Byte]
final implicit val stringCharConfigDecoder: ConfigDecoder[String, Char]
final implicit val stringDoubleConfigDecoder: ConfigDecoder[String, Double]
final implicit val stringDurationConfigDecoder: ConfigDecoder[String, Duration]
final implicit val stringFiniteDurationConfigDecoder: ConfigDecoder[String, FiniteDuration]
final implicit val stringFloatConfigDecoder: ConfigDecoder[String, Float]
final implicit val stringIntConfigDecoder: ConfigDecoder[String, Int]
final implicit val stringLongConfigDecoder: ConfigDecoder[String, Long]
final implicit val stringShortConfigDecoder: ConfigDecoder[String, Short]