class

YamlReader

class YamlReader : Obj

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.

constructors make

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

makeFile

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

methods parse

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

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

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

makeFile new makeFile(File file)

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

parse YamlList parse()

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

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT