yamlserialized 0.3.0

YAML serialization library for dyaml. Easily serialize/deserialize structs to/from YAML.

To use this package, put the following dependency into your project's dependencies section:


Build Status

YAML serialization library for D:YAML. Easily serialize/deserialize structs and classes to/from YAML nodes.

How to use

import yamlserialized : deserializeInto, toYAMLNode;

struct MyStruct {
	int intField;
	string stringField;

MyStruct st;

st.intField = 42;
st.stringField = "Don't panic.";

// Serialize the struct to a D:YAML Node
auto node = st.toYAMLNode();

// Create a new empty struct
MyStruct st2;

// Deserialize the node into it
Kjartan F. Kvamme
dyaml, dunit
0.3.0 2017-Aug-02
0.2.0 2016-Dec-10
0.1.1 2016-Dec-10
0.1.0 2016-Dec-10
~master 2017-Aug-02
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 2 downloads this week

  • 4 downloads this month

  • 321 downloads total