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.
Types 2
Type of regexes
structResolver
Resolves YAML tags (data types).
Can be used to implicitly resolve custom data types of scalar values.
Fields
string defaultScalarTag_string defaultSequenceTag_string defaultMappingTag_Methods
static auto withDefaultResolvers() @safevoid addImplicitResolver(string tag, const Regex!char regexp, string first) pure @safeAdd an implicit scalar resolver.