object ConfigDecoder
- Source
- ConfigDecoder.scala
- Grouped
- Alphabetic
- By Inheritance
- ConfigDecoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- implicit final def configDecoderContravariant[B]: Contravariant[[α$0$]ConfigDecoder[α$0$, B]]
- implicit final def configDecoderMonadError[A]: MonadError[[β$2$]ConfigDecoder[A, β$2$], ConfigError]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def identity[A]: ConfigDecoder[A, A]
Returns a new ConfigDecoder for the specified type without performing any kind of decoding.
- implicit final def identityConfigDecoder[A]: ConfigDecoder[A, A]
- 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 isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- implicit final def secretConfigDecoder[A, B](implicit decoder: ConfigDecoder[A, B]): ConfigDecoder[Secret[A], B]
- implicit final val stringBigDecimalConfigDecoder: ConfigDecoder[String, BigDecimal]
- implicit final val stringBigIntConfigDecoder: ConfigDecoder[String, BigInt]
- implicit final val stringBooleanConfigDecoder: ConfigDecoder[String, Boolean]
- implicit final val stringByteConfigDecoder: ConfigDecoder[String, Byte]
- implicit final val stringCharConfigDecoder: ConfigDecoder[String, Char]
- implicit final val stringDoubleConfigDecoder: ConfigDecoder[String, Double]
- implicit final val stringDurationConfigDecoder: ConfigDecoder[String, Duration]
- implicit final val stringFiniteDurationConfigDecoder: ConfigDecoder[String, FiniteDuration]
- implicit final val stringFloatConfigDecoder: ConfigDecoder[String, Float]
- implicit final val stringIntConfigDecoder: ConfigDecoder[String, Int]
- implicit final val stringLongConfigDecoder: ConfigDecoder[String, Long]
- implicit final val stringShortConfigDecoder: ConfigDecoder[String, Short]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)