dash.utility.data.yaml

Members

Aliases

Yaml
alias Yaml = Node

Convience alias

Functions

deserializeYaml
T deserializeYaml(Node yaml)
T deserializeYaml(R input)

Deserializes a YAML value into the destination variable.

find
T find(Node node, string path)

Get the element, cast to the given type, at the given path, in the given node. *

serializeToYaml
Node serializeToYaml(T value)

Serializes the given value to YAML.

tryFind
bool tryFind(Node node, string path, ref T result)
bool tryFind(Node node, string path, ref T result)
bool tryFind(Node node, string path, ref Variant result)

Try to get the value at path, assign to result, and return success. *

tryFind
bool tryFind(Node node, string path, ref Variant result)

You may not get a variant from a node. You may assign to one, but you must specify a type to search for.

Structs

YamlSerializer
struct YamlSerializer

Serializer for vibe.d framework.

Meta