You can try vibe.d bson serialization.
http://vibed.org/api/vibe.data.bson/serializeToBson
On Saturday, 10 November 2012 at 21:23:03 UTC, Andrej Mitrovic
wrote:
11/10/12, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:
I've been using msgpack for a while, unfortunately I've just
discovered it doesn't support serializing circular references
(http://jira.msgpack.org/browse/MSGPACK-81)
Anyway I think I'll be able to hack-in circular reference
support to
msgpack, but it's not going to be compatible with the protocol
(well a
new Header type will have to be introduced). It's not a big
issue for
me since I only use it offline. I'll post a link to the fork
when I'm
done.