AnyOps

org.virtuslab.yaml.package$.AnyOps
final implicit class AnyOps[T](val t: T) extends AnyVal

Attributes

Source
Yaml.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def asYaml(implicit encoder: YamlEncoder[T]): String

Serialize a T into a YAML string.

Serialize a T into a YAML string.

According to the specification:

  • YamlEncoder encode type T into Node
  • Serializer serializes Node into sequence of Events
  • Presenter present Events as a character stream

Attributes

Source
Yaml.scala

Concrete fields

val t: T

Attributes

Source
Yaml.scala