bls wrote: > 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);
I can't rule out doing this in the future, but it seems like Orange work, not D:YAML work. Currently, D:YAML API is still not stable, so I don't think it would be a good idea right now anyway. Once the API is stable, I'll do a 1.0 release. Further releases will see no breaking changes.
