Yaml

zio.blocks.schema.yaml.Yaml
See theYaml companion trait
object Yaml

Companion object for Yaml providing factory methods and case class definitions.

Attributes

Companion
trait
Source
Yaml.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Yaml.type

Members list

Type members

Classlikes

final case class Mapping(entries: Chunk[(Yaml, Yaml)]) extends Yaml

A YAML mapping (key-value pairs).

A YAML mapping (key-value pairs).

Attributes

Companion
object
Source
Yaml.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Yaml
class Object
trait Matchable
class Any
Show all
object Mapping

Attributes

Companion
class
Source
Yaml.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Mapping.type
case object NullValue extends Yaml

The YAML null value.

The YAML null value.

Attributes

Source
Yaml.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Yaml
class Object
trait Matchable
class Any
Show all
Self type
NullValue.type
final case class Scalar(value: String, tag: Option[YamlTag] = ...) extends Yaml

A YAML scalar (string value with optional tag).

A YAML scalar (string value with optional tag).

Attributes

Source
Yaml.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Yaml
class Object
trait Matchable
class Any
Show all
final case class Sequence(elements: Chunk[Yaml]) extends Yaml

A YAML sequence (ordered list of nodes).

A YAML sequence (ordered list of nodes).

Attributes

Companion
object
Source
Yaml.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Yaml
class Object
trait Matchable
class Any
Show all
object Sequence

Attributes

Companion
class
Source
Yaml.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Sequence.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromJson(json: Json): Yaml

Converts a zio.blocks.schema.json.Json value to a Yaml node.

Converts a zio.blocks.schema.json.Json value to a Yaml node.

Attributes

Source
Yaml.scala