All Projects → michel-kraemer → Bson4jackson

michel-kraemer / Bson4jackson

Licence: apache-2.0
A pluggable BSON generator and parser for the Jackson JSON processor.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Bson4jackson

Jsonj
A fluent Java API for manipulating json data structures
Stars: ✭ 42 (-82.79%)
Mutual labels:  json, bson, jackson
Fspickler
A fast multi-format message serializer for .NET
Stars: ✭ 299 (+22.54%)
Mutual labels:  json, bson, binary
Kafka Connect Mongodb
**Unofficial / Community** Kafka Connect MongoDB Sink Connector - Find the official MongoDB Kafka Connector here: https://www.mongodb.com/kafka-connector
Stars: ✭ 137 (-43.85%)
Mutual labels:  json, bson, mongodb
Avocado
Strongly-typed MongoDB driver for Rust
Stars: ✭ 70 (-71.31%)
Mutual labels:  json, bson, mongodb
Noproto
Flexible, Fast & Compact Serialization with RPC
Stars: ✭ 138 (-43.44%)
Mutual labels:  json, bson
Borer
Efficient CBOR and JSON (de)serialization in Scala
Stars: ✭ 131 (-46.31%)
Mutual labels:  json, binary
Bricks
A standard library for microservices.
Stars: ✭ 142 (-41.8%)
Mutual labels:  json, mongodb
Mongo Kafka
MongoDB Kafka Connector
Stars: ✭ 166 (-31.97%)
Mutual labels:  bson, mongodb
Render
Go package for easily rendering JSON, XML, binary data, and HTML templates responses.
Stars: ✭ 1,562 (+540.16%)
Mutual labels:  json, binary
Jackson Core
Core part of Jackson that defines Streaming API as well as basic shared abstractions
Stars: ✭ 2,003 (+720.9%)
Mutual labels:  json, jackson
Objcmongodb
Mac OS and iOS library for MongoDB and BSON
Stars: ✭ 166 (-31.97%)
Mutual labels:  bson, mongodb
Snodge
Randomly mutate JSON, XML, HTML forms, text and binary data for fuzz testing
Stars: ✭ 121 (-50.41%)
Mutual labels:  json, binary
Gwt Jackson
gwt-jackson is a JSON parser for GWT. It uses Jackson 2.x annotations to customize the serialization/deserialization process.
Stars: ✭ 110 (-54.92%)
Mutual labels:  json, jackson
Kripton
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
Stars: ✭ 110 (-54.92%)
Mutual labels:  json, jackson
Stubbornjava
Unconventional Java code for building web servers / services without a framework. Think dropwizard but as a seed project instead of a framework. If this project had a theme it would be break the rules but be mindful of your decisions.
Stars: ✭ 184 (-24.59%)
Mutual labels:  json, jackson
Jackson Datatype Money
Extension module to properly support datatypes of javax.money
Stars: ✭ 165 (-32.38%)
Mutual labels:  json, jackson
Jackson Jq
jq for Jackson Java JSON Processor
Stars: ✭ 178 (-27.05%)
Mutual labels:  json, jackson
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-22.95%)
Mutual labels:  json, mongodb
Mgodatagen
Generate random data for MongoDB
Stars: ✭ 206 (-15.57%)
Mutual labels:  bson, mongodb
Mongoose Patch History
Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection
Stars: ✭ 82 (-66.39%)
Mutual labels:  json, mongodb

BSON for Jackson Actions Status Apache License, Version 2.0

This library adds support for BSON to the Jackson JSON processor.

BSON is a binary representation of JSON. It is well known as the main exchange and persistence format of MongoDB.

Quick start

Just create a Jackson ObjectMapper with a BsonFactory as follows:

ObjectMapper mapper = new ObjectMapper(new BsonFactory());

For more information, you may read my bson4jackson tutorial or the complete documentation of Jackson.

Download

bson4jackson binaries are available from the GitHub releases page.

You may also use Maven to download bson4jackson:

<dependencies>
    <dependency>
        <groupId>de.undercouch</groupId>
        <artifactId>bson4jackson</artifactId>
        <version>2.12.0</version>
    </dependency>
</dependencies>

If you are using Gradle, you may add the following snippet to your build.gradle:

dependencies {
    implementation 'de.undercouch:bson4jackson:2.12.0'
}

Compatibility

The latest version of bson4jackson is backward compatible to all versions of Jackson 2.x released up to date. It should be compatible to newer versions as well. If you experience compatibility issues, just let me know.

If you are looking for a version compatible to Jackson 1.x, please use bson4jackson 1.3.0. It's the last version for the 1.x branch. bson4jackson 1.3.0 is compatible to Jackson 1.7 up to 1.9.

Compiling

Execute the following command to compile the library and to run the unit tests:

./gradlew test

The script automatically downloads the correct Gradle version so you won't have to do anything else. If everything runs successfully, you may create a .jar library:

./gradlew jar

The library will be located under build/libs.

License

bson4jackson is licensed under the Apache License, Version 2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].