Ruby Implementation of the BSON Specification (2.0.0+)
Ruby C Java
Latest commit 7acbcd1 Sep 16, 2016 @estolfo estolfo committed on GitHub Merge pull request #67 from estolfo/RUBY-1124-ints
RUBY-1124 Allow instantiating Int64 and Int32 objects explicitly and calling #to_bson on them

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.