Ruby Implementation of the BSON Specification (2.0.0+)
Ruby C Java Shell
karmatr0n and p-mongo Bug fix for the BSON::ByteBuffer#put_byte and BSON::ByteBuffer#put_by…
…tes methods (#93)

* Bug fix for the BSON::ByteBuffer#put_byte and BSON::ByteBuffer#put_bytes methods

* Add additional new lines.

* Handle jruby
Latest commit 27c1fee Jul 6, 2018

BSON Build Status Code Climate Coverage Status Inline docs

An implementation of the BSON specification in Ruby.


BSON is tested against MRI (1.9.2+), JRuby (1.7.0+) and Rubinius (2.0.0+).


Current documentation can be found here

API Documentation

The API Documentation is located at

BSON Specification

The BSON specification is at


As of 2.0.0, this project adheres to the Semantic Versioning Specification.


Copyright (C) 2009-2016 MongoDB Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

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.