ConfigDecoder

ciris.ConfigDecoder$
See theConfigDecoder companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Implicits

Implicits

final implicit def configDecoderContravariant[B]: Contravariant[ConfigDecoder]

Attributes

final implicit def configDecoderMonadError[A]: MonadError[[_] =>> ConfigDecoder[A, _$10], ConfigError]

Attributes

final implicit def identityConfigDecoder[A]: ConfigDecoder[A, A]

Attributes

final implicit val stringBigDecimalConfigDecoder: ConfigDecoder[String, BigDecimal]

Attributes

final implicit val stringBigIntConfigDecoder: ConfigDecoder[String, BigInt]

Attributes

final implicit val stringBooleanConfigDecoder: ConfigDecoder[String, Boolean]

Attributes

final implicit val stringByteConfigDecoder: ConfigDecoder[String, Byte]

Attributes

final implicit val stringCharConfigDecoder: ConfigDecoder[String, Char]

Attributes

final implicit val stringDoubleConfigDecoder: ConfigDecoder[String, Double]

Attributes

final implicit val stringDurationConfigDecoder: ConfigDecoder[String, Duration]

Attributes

final implicit val stringFiniteDurationConfigDecoder: ConfigDecoder[String, FiniteDuration]

Attributes

final implicit val stringFloatConfigDecoder: ConfigDecoder[String, Float]

Attributes

final implicit val stringIntConfigDecoder: ConfigDecoder[String, Int]

Attributes

final implicit val stringLongConfigDecoder: ConfigDecoder[String, Long]

Attributes

final implicit val stringShortConfigDecoder: ConfigDecoder[String, Short]

Attributes