YamlDecoder

org.virtuslab.yaml.YamlDecoder$
See theYamlDecoder companion trait
object YamlDecoder

Attributes

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

Members list

Value members

Concrete methods

def apply[T](pf: PartialFunction[Node, Either[ConstructError, T]])(implicit classTag: ClassTag[T]): YamlDecoder[T]

Attributes

Source
YamlDecoder.scala

Inherited methods

protected def constructValues[T](elemLabels: List[String], instances: List[YamlDecoder[_]], optionalTypes: List[Boolean], valuesMap: Map[String, Node], p: ProductOf[T]): Either[ConstructError, T]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def deriveProduct[T](p: ProductOf[T]): YamlDecoder[T]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline def derived[T](using m: Of[T]): YamlDecoder[T]

Attributes

Inherited from:
YamlDecoderCompanionCrossCompat (hidden)
Source
YamlDecoderCrossCompat.scala
protected def extractKeyValues(mappings: Map[Node, Node]): Either[ConstructError, Map[String, Node]]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def getElemLabels[T <: Tuple]: List[String]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def getOptionalTypes[T <: Tuple]: List[Boolean]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def sumOf[T](s: SumOf[T]): YamlDecoder[T]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def summonAll[T <: Tuple]: List[YamlDecoder[_]]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala
inline protected def summonSumOf[T <: Tuple]: List[YamlDecoder[_]]

Attributes

Inherited from:
DecoderMacros (hidden)
Source
YamlDecoderCrossCompat.scala

Implicits

Implicits

implicit def forAny: YamlDecoder[Any]

Attributes

Source
YamlDecoder.scala
implicit def forBoolean: YamlDecoder[Boolean]

Attributes

Source
YamlDecoder.scala
implicit def forByte: YamlDecoder[Byte]

Attributes

Source
YamlDecoder.scala
implicit def forDouble: YamlDecoder[Double]

Attributes

Source
YamlDecoder.scala
implicit def forFloat: YamlDecoder[Float]

Attributes

Source
YamlDecoder.scala
implicit def forInt: YamlDecoder[Int]

Attributes

Source
YamlDecoder.scala
implicit def forList[T](implicit c: YamlDecoder[T]): YamlDecoder[List[T]]

Attributes

Source
YamlDecoder.scala
implicit def forLong: YamlDecoder[Long]

Attributes

Source
YamlDecoder.scala
implicit def forMap[K, V](implicit keyDecoder: YamlDecoder[K], valueDecoder: YamlDecoder[V]): YamlDecoder[Map[K, V]]

Attributes

Source
YamlDecoder.scala
implicit def forOption[T](implicit c: YamlDecoder[T]): YamlDecoder[Option[T]]

Attributes

Source
YamlDecoder.scala
implicit def forSeq[T](implicit c: YamlDecoder[T]): YamlDecoder[Seq[T]]

Attributes

Source
YamlDecoder.scala
implicit def forSet[T](implicit c: YamlDecoder[T]): YamlDecoder[Set[T]]

Attributes

Source
YamlDecoder.scala
implicit def forShort: YamlDecoder[Short]

Attributes

Source
YamlDecoder.scala
implicit def forString: YamlDecoder[String]

Attributes

Source
YamlDecoder.scala