Yaml.

Yaml(string, bool) Constructor

Summary

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.
Assembly
Wyam.Yaml.dll
Namespace
Wyam.Yaml
Containing Type
Yaml

Syntax

public Yaml(string key, bool flatten = false)

Parameters

Name Type Description
key string The metadata key in which to set the dynamic YAML object.
flatten bool If set to true, all root-level scalars are also added to the input document's metadata.

Return Value

Type Description
void
GitHub