Package
#n Wyam.Yaml
Usage
-
Yaml()
The content of the input document is parsed as YAML. All root-level scalars are added to the input document's metadata. Any more complex YAML structures are ignored. This is best for simple key-value YAML documents.
-
Yaml(string key, bool flatten = false)
The content of the input document is parsed as YAML. A dynamic object representing the first YAML document is set as the value for the given metadata key. See YamlDotNet.Dynamic for more details about the dynamic YAML object. If flatten is true, all root-level scalars are also added to the input document's metadata.
key
The metadata key in which to set the dynamic YAML object.
flatten
If set to
true
, all root-level scalars are also added to the input document's metadata.