dyaml

Undocumented in source.

Modules

composer
module dyaml.composer

Composes nodes from YAML events provided by parser. Code based on PyYAML: http://www.pyyaml.org

constructor
module dyaml.constructor

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.

dumper
module dyaml.dumper

YAML dumper.

emitter
module dyaml.emitter

YAML emitter. Code based on PyYAML: http://www.pyyaml.org

encoding
module dyaml.encoding
Undocumented in source.
escapes
module dyaml.escapes
Undocumented in source.
event
module dyaml.event

YAML events. Code based on PyYAML: http://www.pyyaml.org

exception
module dyaml.exception

Exceptions thrown by D:YAML and exception related code.

linebreak
module dyaml.linebreak
Undocumented in source.
loader
module dyaml.loader

Class used to load YAML documents.

node
module dyaml.node

Node of a YAML document. Used to read YAML data once it's loaded, and to prepare data to emit.

parser
module dyaml.parser

YAML parser. Code based on PyYAML: http://www.pyyaml.org

queue
module dyaml.queue
Undocumented in source.
reader
module dyaml.reader
Undocumented in source.
representer
module dyaml.representer

YAML node representer. Prepares YAML nodes for output. A tutorial can be found here.

resolver
module 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.

scanner
module dyaml.scanner

YAML scanner. Code based on PyYAML: http://www.pyyaml.org

serializer
module dyaml.serializer

YAML serializer. Code based on PyYAML: http://www.pyyaml.org

stdsumtype
module dyaml.stdsumtype

This module was copied from Phobos at commit 87c6e7e35 (2022-07-06). This is necessary to include https://github.com/dlang/phobos/pull/8501 which is a fix needed for DIP1000 compatibility. A couple minor changes where also required to deal with package(std) imports.

style
module dyaml.style

YAML node formatting styles.

tagdirective
module dyaml.tagdirective

Tag directives.

testsuite
module dyaml.testsuite
Undocumented in source.
tojson
module dyaml.tojson
Undocumented in source.
token
module dyaml.token

YAML tokens. Code based on PyYAML: http://www.pyyaml.org

yaml_bench
module dyaml.yaml_bench
Undocumented in source.

Public Imports

dyaml.dumper
public import dyaml.dumper;
Undocumented in source.
dyaml.encoding
public import dyaml.encoding;
Undocumented in source.
dyaml.exception
public import dyaml.exception;
Undocumented in source.
dyaml.linebreak
public import dyaml.linebreak;
Undocumented in source.
dyaml.loader
public import dyaml.loader;
Undocumented in source.
dyaml.resolver
public import dyaml.resolver;
Undocumented in source.
dyaml.style
public import dyaml.style;
Undocumented in source.
dyaml.node
public import dyaml.node;
Undocumented in source.

Meta