implicit final class CirceConfigOps extends AnyVal
Enriches com.typesafe.config.Config instances with methods to decode to a specific type.
- Source
- syntax.scala
- Alphabetic
- By Inheritance
- CirceConfigOps
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CirceConfigOps(config: Config)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toany2stringadd[CirceConfigOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (CirceConfigOps, B)
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toArrowAssoc[CirceConfigOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def as[A](path: String)(implicit arg0: Decoder[A]): Either[Error, A]
Read config settings at given path into the specified type.
- def as[A](implicit arg0: Decoder[A]): Either[Error, A]
Read config settings into the specified type.
- def asF[F[_], A](path: String)(implicit arg0: Decoder[A], ev: ApplicativeError[F, Throwable]): F[A]
Read config settings at given path into the specified type.
- def asF[F[_], A](implicit arg0: Decoder[A], ev: ApplicativeError[F, Throwable]): F[A]
Read config settings into the specified type.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val config: Config
- def ensuring(cond: (CirceConfigOps) => Boolean, msg: => Any): CirceConfigOps
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toEnsuring[CirceConfigOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (CirceConfigOps) => Boolean): CirceConfigOps
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toEnsuring[CirceConfigOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): CirceConfigOps
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toEnsuring[CirceConfigOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): CirceConfigOps
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toEnsuring[CirceConfigOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toStringFormat[CirceConfigOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def →[B](y: B): (CirceConfigOps, B)
- Implicit
- This member is added by an implicit conversion from CirceConfigOps toArrowAssoc[CirceConfigOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.