ConfigDecoder

ciris.ConfigDecoder
See theConfigDecoder companion class
object ConfigDecoder

Attributes

Companion
class
Source
ConfigDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Grouped members

Creating Instances

final def apply[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. Alias for the ConfigDecoder.identity function.

Attributes

Source
ConfigDecoder.scala
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

Source
ConfigDecoder.scala
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

Source
ConfigDecoder.scala
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

Source
ConfigDecoder.scala
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

Source
ConfigDecoder.scala

Decoder Instances

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

Attributes

Source
ConfigDecoder.scala
final implicit def secretConfigDecoder[A, B](implicit decoder: ConfigDecoder[A, B]): ConfigDecoder[Secret[A], B]

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala

Attributes

Source
ConfigDecoder.scala
final implicit def toSecretConfigDecoder[A, B](implicit decoder: ConfigDecoder[A, B], show: Show[B]): ConfigDecoder[A, Secret[B]]

Attributes

Source
ConfigDecoder.scala

Type Class Instances

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

Attributes

Source
ConfigDecoder.scala