YamlCodec

org.virtuslab.yaml.YamlCodec
See theYamlCodec companion object
trait YamlCodec[T] extends YamlDecoder[T], YamlEncoder[T]

A type class that provides both-way conversion between Node and T

Attributes

Companion
object
Source
YamlCodec.scala
Graph
Supertypes
trait YamlEncoder[T]
trait YamlDecoder[T]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def asNode(obj: T): Node

Attributes

Inherited from:
YamlEncoder
Source
YamlEncoder.scala
def construct(node: Node)(implicit settings: LoadSettings): Either[ConstructError, T]

Attributes

Inherited from:
YamlDecoder
Source
YamlDecoder.scala