bson4jackson 2.4 has just been released!

Version 2.4 of bson4jackson has just been released. bson4jackson adds support for BSON, a binary representation of JSON, to the Jackson JSON processor.

The latest release of bson4jackson now supports Jackson 2.4. Apart from that, the following things have been changed:

  • Allow BigDecimal to be serialized as String in order to avoid losing precision
  • Added deserializers for Date and Calendar to the BsonModule
  • Byte arrays are now correctly deserialized
  • Added integration tests to ensure compatibility with multiple Jackson versions

Grab the new version while it’s still hot:

Projects using bson4jackson

bson4jackson is used in several other open-source projects including the following ones:

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.

More information

For a complete description of bson4jackson (including how to download it) have a look at my tutorial.

Profile image of Michel Krämer

Posted by Michel Krämer
on 6 July 2014

Next post

gradle-download-task 1.2

The new version is now available on the Gradle plugin portal and can be added to your build through Gradle’s new plugin mechanism. Apart from that, compatibility with all latest Gradle versions has been ensured.

Previous post

gradle-download-task: download files with progress

The new gradle-download-task plugin adds a download task to Gradle that is able to fetch a file from a server and display progress information. It also offers many other useful features.

Related posts

Binary JSON with bson4jackson

This post introduces the open-source library bson4jackson, which is an extension to the Jackson JSON processor. It enables you to parse and generate documents in a binary JSON format called BSON.

bson4jackson 2.9.2

This blog post summarizes the changes that came with the latest bson4jackson updates. Highlights are support for Decimal128, refactored serializers and deserializers, as well as support for Jackson 2.8 and 2.9.

bson4jackson 2.5 has just been released!

In bson4jackson 2.5, I’ve added support for Jackson 2.5. Besides other small changes, I was also able to improve the library’s performance. Thanks again to the community for the help.