in reply to Re: Serialise to binary?
in thread Serialise to binary?
I tried BSON, I found that it would throw a lot of warnings on basic structures, especially it seems to miss identify some scalars as floats and attempts to pack them as floats causing "argument isn't numeric in pack". I also found floats having widly inconsistent values when encoded then decoded.
Because its so heavily tied to MongoDB, they don't see to really care about having it being able to encode arbitrary data structures (evidence by the fact that you have to pass a hash ref, no array ref allowed). They just want to decode their own binary data as they use it in Mongo and re-encode structures setup the same way.
So I wouldn't recommend it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Serialise to binary?
by xdg (Monsignor) on Oct 26, 2015 at 15:55 UTC | |
by davido (Cardinal) on Oct 27, 2015 at 02:56 UTC | |
by xdg (Monsignor) on Nov 04, 2015 at 14:51 UTC |