Module yaml/loading
Search:
Group by:
The loading API enables you to load a YAML character stream into native Nim value. Along with the dumping API, this forms the highest-level API of NimYAML.
Imports
Procs
proc load[K](input: Stream | string; target: var K) {. ...raises: [YamlConstructionError, IOError, OSError, YamlParserError].}
- Loads a Nim value from a YAML character stream.
proc loadAs[K](input: Stream | string): K {. ...raises: [YamlConstructionError, IOError, OSError, YamlParserError].}
- Loads the given YAML input to a value of the type K and returns it
proc loadMultiDoc[K](input: Stream | string; target: var seq[K])