- yaml_write(+Out:stream, +DOM) is det
- 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.