class yaml::YamlReader

sys::Obj
  yaml::YamlReader

Source

Converts YAML text into a hierarchy of YamlObjs, which can in turn be converted into native Fantom objects.

See the pod documentation for more information.

make

new make(InStream in, FileLoc loc := FileLoc.unknown)

Source

Creates a new YamlReader that reads YAML content from the given InStream, optionally tracking file location data.

makeFile

new makeFile(File file)

Source

Creates a new YamlReader that reads YAML content from the given file.

parse

YamlList parse()

Source

Parses the input stream as YAML content, returning each document as its own YamlObj within a larger YamlList.