public YAMLNull constructNull(ref Node node) @safe pure nothrow @nogc
Construct a _null _node.
public YAMLMerge constructMerge(ref Node node) @safe pure nothrow @nogc
Construct a merge _node - a _node that merges another _node into a mapping.
public bool constructBool(ref Node node) @safe
Construct a boolean _node.
public long constructLong(ref Node node)
Construct an integer (long) _node.
public real constructReal(ref Node node)
Construct a floating point (real) _node.
public ubyte[] constructBinary(ref Node node)
Construct a binary (base64) _node.
public SysTime constructTimestamp(ref Node node)
Construct a timestamp (SysTime) _node.
public string constructString(ref Node node)
Construct a string _node.
public Node.Pair[] constructOrderedMap(ref Node node)
Construct an ordered map (ordered sequence of key:value pairs without duplicates) _node.
public Node.Pair[] constructPairs(ref Node node)
Construct a pairs (ordered sequence of key: value pairs allowing duplicates) _node.
public Node[] constructSet(ref Node node)
Construct a set _node.
public Node[] constructSequence(ref Node node)
Construct a sequence (array) _node.
public Node.Pair[] constructMap(ref Node node)
Construct an unordered map (unordered set of key:value _pairs without duplicates) _node.
Class that processes YAML mappings, sequences and scalars into nodes. This can be used to add custom data types. A tutorial can be found here.
Functions
| constructNull@safe, pure, nothrow, @nogc | Construct a _null _node. | |
| constructMerge@safe, pure, nothrow, @nogc | Construct a merge _node - a _node that merges another _node into a mapping. | |
| constructBool@safe | Construct a boolean _node. | |
| constructLong | Construct an integer (long) _node. | |
| constructReal | Construct a floating point (real) _node. | |
| constructBinary | Construct a binary (base64) _node. | |
| constructTimestamp | Construct a timestamp (SysTime) _node. | |
| constructString | Construct a string _node. | |
| getPairs | Convert a sequence of single-element mappings into a sequence of pairs. | |
| constructOrderedMap | Construct an ordered map (ordered sequence of key:value pairs without duplicates) _node. | |
| constructPairs | Construct a pairs (ordered sequence of key: value pairs allowing duplicates) _node. | |
| constructSet | Construct a set _node. | |
| constructSequence | Construct a sequence (array) _node. | |
| constructMap | Construct an unordered map (unordered set of key:value _pairs without duplicates) _node. |
Classes
| Constructor | Constructs YAML values. |