Thread overview
Binary Data Serialization Libraries
Dec 06, 2013
Jeroen Bollen
Dec 06, 2013
Dicebot
Dec 06, 2013
Max Klyga
Dec 06, 2013
Jeroen Bollen
December 06, 2013
Are there any Binary Data Serialization Libraries available written in D2? I'm looking for something like a BSON read/write library. (Although can be any other binary language really)
December 06, 2013
On Friday, 6 December 2013 at 13:33:45 UTC, Jeroen Bollen wrote:
> Are there any Binary Data Serialization Libraries available written in D2? I'm looking for something like a BSON read/write library. (Although can be any other binary language really)

vibe.d BSON : https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/data/bson.d

generic binary serialization library : https://github.com/atilaneves/cerealed

There are certainly more out there but those two came to my mind immediately.
December 06, 2013
On 2013-12-06 13:33:44 +0000, Jeroen Bollen said:

> Are there any Binary Data Serialization Libraries available written in D2? I'm looking for something like a BSON read/write library. (Although can be any other binary language really)

MessagePack - format very similar to BSON - https://github.com/msgpack/msgpack-d

December 06, 2013
On Friday, 6 December 2013 at 14:40:54 UTC, Max Klyga wrote:
> On 2013-12-06 13:33:44 +0000, Jeroen Bollen said:
>
>> Are there any Binary Data Serialization Libraries available written in D2? I'm looking for something like a BSON read/write library. (Although can be any other binary language really)
>
> MessagePack - format very similar to BSON - https://github.com/msgpack/msgpack-d

Worth noting that that doesn't support circular references, I was almost convinced. :P

I think I'm going with Cerealed. It looks like the most appropriate. BSON seems okay but Cerealed seems just a bit better.