dyaml.resolver
Implements a class that resolves YAML tags. This can be used to implicitly resolve tags for custom data types, removing the need to explicitly specify tags in YAML. A tutorial can be found here.
Code based on PyYAML.
struct Resolver
Types 1
structResolver
Resolves YAML tags (data types).
Can be used to implicitly resolve custom data types of scalar values.
Methods
static auto withDefaultResolvers() @safevoid addImplicitResolver(string tag, const Regex!char regexp, string first) pure @safeAdd an implicit scalar resolver.