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-2014 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.