Node

org.virtuslab.yaml.Node
See theNode companion object
sealed trait Node

ADT that corresponds to the YAML representation graph nodes https://yaml.org/spec/1.2/spec.html#id2764044

Attributes

Companion
object
Source
Node.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MappingNode
class ScalarNode
class SequenceNode

Members list

Value members

Abstract methods

def tag: Tag

Attributes

Source
Node.scala

Concrete methods

def as[T](implicit c: YamlDecoder[T], settings: LoadSettings): Either[YamlError, T]

Attributes

Source
Node.scala
def asYaml: String
Implicitly added by NodeOps

Attributes

Source
Yaml.scala
def modify(index: Int): NodeVisitor

Attributes

Source
Node.scala
def modify(field: String): NodeVisitor

Attributes

Source
Node.scala

Concrete fields

val node: Node
Implicitly added by NodeOps

Attributes

Source
Yaml.scala