Did you know ... Search Documentation:
Pack yaml -- prolog/yaml/util.pl
PublicShow source
author
- Hongxin Liang
license
- Apache License Version 2.0
 read_yaml(+Source, -YAML) is semidet
Read YAML file specified by Source where Source could be a file path or an atom representing raw YAML with all the comments not being filtered out. Output YAML will have all the comments been removed.

Source could be:

  • atom(Atom)
  • file(FilePath)
 write_yaml(+FilePath, +YAML) is semidet
Write YAML atom to file specified by FilePath.