D:YAML 0.2 released
bls
bizprac at orange.fr
Sat Oct 15 12:24:14 PDT 2011
Am 15.10.2011 19:06, schrieb Kiith-Sa:
> I've just released D:YAML 0.2 . This release brings emitting functionality
...
what do you think about bringing in (adapt) your YAML tool into the
Orange serialisation library. (orange..
https://github.com/jacob-carlborg/orange)
Sounds probably not too interesting but in conjunction with the upcoming
std.database/ ORM stuff Serialisation/De-Serialisation will become
pretty important .
// occupied snippet from Orange ..
class Foo
{
int a;
}
void main ()
{
auto foo = new Foo; // create something to serialize
foo.a = 3; // change the default value of "a"
auto archive = new YAMlArchive!(char); // create an yaml archive
auto serializer = new Serializer(archive); // create the serializer
serializer.serialize(foo);
More information about the Digitalmars-d-announce
mailing list