dyaml.hacks

Functionality that may sometimes be needed but allows unsafe or unstandard behavior, and should only be used in specific cases.

Members

Functions

collectionStyleHack
CollectionStyle collectionStyleHack(const(Node) node)

Get the collection style a YAML node had in the file it was loaded from.

collectionStyleHack
void collectionStyleHack(Node node, CollectionStyle rhs)

Set the collection style node should have when written to a file.

scalarStyleHack
ScalarStyle scalarStyleHack(const(Node) node)

Get the scalar style a node had in the file it was loaded from.

scalarStyleHack
void scalarStyleHack(Node node, ScalarStyle rhs)

Set the scalar style node should have when written to a file.

Meta