- Index
- »
- fan.yaml
- »
- YamlReader
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.
Creates a new YamlReader that reads YAML content from the given file
Creates a new YamlReader that reads YAML content from the given InStream, optionally tracking file location data
Parses the input stream as YAML content, returning each document as its own YamlObj within a larger YamlList
new make(InStream in, FileLoc loc)
Creates a new YamlReader that reads YAML content from the given InStream, optionally tracking file location data.
new makeFile(File file)
Creates a new YamlReader that reads YAML content from the given file.
YamlList parse()
Parses the input stream as YAML content, returning each document as its own YamlObj within a larger YamlList.