I’m delighted to announce a new version of bson4jackson 2.11.0. The library is already very stable and there haven’t been many updates recently. The latest version is a maintenance release that updates Jackson and fixes some minor issues.
bson4jackson is an extension to the Jackson JSON processor adding support for BSON, a binary representation of JSON.
Here’s an overview of what has changed:
UnsafeByteArrayInputStream(#87, thanks to @neopaf)
BigDecimals. Directly convert them to
I’m happy to report that the community around bson4jackson has never been so active and that the project has gained great popularity (see below). I’d like to thank all users and contributors!
The following represents a short selection of popular Open Source libraries and tools using 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.
KMongo, a Kotlin toolkit for MongoDB, uses bson4jackson for its object mapping API. With this, results of MongoDB queries are automatically mapped to objects.
JsonJ is a fluent Java API for manipulating JSON data structures. The library not only supports JSON, but also other formats such as YAML, HOCON or—with a little help of bson4jackson—BSON.
ModeShape is a distributed, hierarchical, transactional, and consistent data store with support for queries, full-text search, events, versioning, references, and flexible and dynamic schemas. They use bson4jackson to test their BSON reader and writer implementation.
List your project here!
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.