Std.Yaml
15 public declarations
- asBoolean
&Std.Yaml.Yaml -> Option[Bool]The value as a truth value, or nothing when it is not one.
- asFractional
&Std.Yaml.Yaml -> Option[Str]The value as a fractional number written out, or nothing.
- asList
&Std.Yaml.Yaml -> Option[Array[Std.Yaml.Yaml]]The value as a list, or nothing when it is not one.
- asMapping
&Std.Yaml.Yaml -> Option[Array[(Str, Std.Yaml.Yaml)]]The value as named entries, or nothing when it is not a mapping.
- asText
&Std.Yaml.Yaml -> Option[Str]The value as text, or nothing when it is not text.
- asWhole
&Std.Yaml.Yaml -> Option[Int]The value as a whole number, or nothing when it is not one.
- at
&Std.Yaml.Yaml -> Int -> Option[Std.Yaml.Yaml]The value at a position of a sequence.
- decode
Str -> Result[Std.Yaml.Yaml, Std.Yaml.YamlError]Read a document.
- explain
&Std.Yaml.YamlError -> StrWhy a document was refused, written for a person to read.
- field
&Std.Yaml.Yaml -> Str -> Option[Std.Yaml.Yaml]The value under a key of a mapping, or nothing when there is none.
- isEmpty
&Std.Yaml.Yaml -> BoolWhether a document holds nothing at this place.
- keys
&Std.Yaml.Yaml -> Array[Str]The keys of a mapping, in the order they were written.
- path
&Std.Yaml.Yaml -> Str -> Option[Std.Yaml.Yaml]A value reached by a dotted path, which is how a setting is usually named.
- Yaml
A value a YAML document holds.
- YamlError
Why text does not name a document.
