www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Binary Data Serialization Libraries

reply "Jeroen Bollen" <jbinero gmail.com> writes:
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)
Dec 06 2013
next sibling parent "Dicebot" <public dicebot.lv> writes:
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.
Dec 06 2013
prev sibling parent reply Max Klyga <email domain.com> writes:
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
Dec 06 2013
parent "Jeroen Bollen" <jbinero gmail.com> writes:
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.
Dec 06 2013