PublicShow sourceyaml.pl -- Process YAML data

This module parses YAML serialized data into a Prolog term with structure that is compatible with the JSON library. This library is a wrapper around the C library libyaml. This library forms the basis of the YAML support in several languages and thus guarantees compatibility of our YAML support with other languages.

Source yaml_read(+Input, -DOM) is det
Parse Input to a YALM DOM. The DOM representation uses the following mapping:
Arguments:
Input- is one of (1) a stream, (2) a term string(Data) or (3) a file name.
Source yaml_write(+Out:stream, +DOM) is det
Source yaml_write(+Out:stream, +DOM, +Options) is det
Emit a YAML DOM object as a serialized YAML document to the stream Out. Options processed are:
canonical(+Boolean)
Use canonical representation. Default is false.
unicode(+Boolean)
Use unicode Default is true.
implicit(+Boolean)
Use implicit or explicit representation. Currently only affects the opening and closing the document. Default is true. Use false for embedded documents.
factorize(+Boolean)
If true, minimize the term by factoring out common structures and use &anchor and *anchor. Factorization is always used if DOM is a cyclic term.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source yaml_write(Arg1, Arg2, Arg3)