Note that the deprecated BSON constructs UNDEFINED, DB_POINTER and SYMBOL are ignored and have no Fantom representation.
Bson takes care of all the tricky Endianness. All BSON objects (except for Buf and Regex) may also be serialised to and from strings using Fantom's standard serialisation techniques.
Have fun!
: )
brianThu 1 May 2014
This is very cool, I was actually thinking about a bson implementation just last week!
SlimerDude Tue 29 Apr 2014
BSON v1.0.0 Released!
Bsonis an implementation of the BSON specification complete with serialisation and deserialisation.fanr install -r http://repo.status302.com/fanr/ afBsonUsage
The main BsonReader and BsonWriter classes (de)serialise BSON objects to and from Fantom using the following mapping:
Note that the deprecated BSON constructs
UNDEFINED,DB_POINTERandSYMBOLare ignored and have no Fantom representation.Bsontakes care of all the trickyEndianness. All BSON objects (except forBufand Regex) may also be serialised to and from strings using Fantom's standard serialisation techniques.Have fun!
: )
brian Thu 1 May 2014
This is very cool, I was actually thinking about a bson implementation just last week!
SlimerDude Thu 1 May 2014
Hmm... and just what would use use BSON for? ;)