Package

org.gerweck.scala.util

yaml

Permalink

package yaml

Visibility
  1. Public
  2. All

Value Members

  1. object Yaml

    Permalink

    A simple DSL for generating YAML documents.

    A simple DSL for generating YAML documents.

    The entry point is to call Yaml.Write, which takes a map-like syntax. To create nested arrays or maps, use the Yaml.Map or Yaml.Seq generators.

    None of the other types in the package should be used directly.

    Example:

    Yaml.Write(
      "a" -> 1,
      "b" -> Yaml.Map(
        "b" -> Yaml.Map(
          "c" -> Yaml.Seq(1, 2, false)
        )
      )
    )
  2. object YamlImpl

    Permalink

Ungrouped