The latest release of bson4jackson now supports Jackson 2.4. Apart from that, the following things have been changed:
BigDecimalto be serialized as
Stringin order to avoid losing precision
Grab the new version while it’s still hot:
bson4jackson is used in several other Open Source projects including the following one:
Immutables is an annotation processor that is able to generate immutable objects which help tackle complexity and concurrency. The library also includes serializers for immutable objects based on Jackson and bson4jackson.
Jongo is a rather cool library that allows MongoDB to be queried in Java just like you would query it in the MongoDB shell. Jongo uses bson4jackson to serialize objects before they are sent to the database, and of course to deserialize queried documents.
MongoJack is a POJO mapper that uses Jackson and bson4jackson to serialize and deserialize objects before they are sent to the database. MongoJack is extremely fast and very easy to handle.
I know that there are a lot of other projects out there that use bson4jackson. If you want your project to be added to this list please leave a comment below or send me a message.
For a complete description of bson4jackson (including how to download it) have a look at my tutorial.