Skip to content

dgoon/libbson

This branch is 1406 commits behind mongodb/libbson:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Christian Hergert
Dec 13, 2013
f94f1da · Dec 13, 2013
Aug 27, 2013
Dec 13, 2013
Dec 5, 2013
Nov 11, 2013
Dec 4, 2013
Nov 20, 2013
Oct 9, 2013
Oct 31, 2013
Mar 23, 2013
Aug 27, 2013
Nov 20, 2013
Dec 5, 2013
Oct 31, 2013
Apr 2, 2013
Nov 20, 2013
Mar 23, 2013
Dec 13, 2013

Repository files navigation

libbson

libbson is a library providing useful routines related to building, parsing, and iterating BSON documents. It is a useful base for those wanting to write high-performance C extensions to higher level languages such as python, ruby, or perl.

Building

From Git

$ sudo yum install automake autoconf libtool make gcc
$ ./autogen.sh --enable-silent-rules
$ make
$ sudo make install

You can run the unit tests with

$ make test

From Tarball

$ ./configure --enable-silent-rules
$ make
$ sudo make install

Developing using libbson

In your source code:

#include <bson.h>

To get the include path and libraries appropriate for your system.

gcc my_program.c $(pkg-config --cflags --libs libbson-1.0)

Examples

See the examples/ directory for how to use the libbson library in your application.

Documentation

See the doc/ directory for documentation on individual types.

About

A BSON utility library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.9%
  • C++ 2.9%
  • Python 1.1%
  • Shell 0.1%