Giter Club home page Giter Club logo

bsontools's Introduction

These are simple utilities for manipulation of bson documents.

  • bson - main utility. Try bson --help
  • fromjson - convert JSON to BSON
  • fromcsv - convert CSV to BSON
  • fromxml - convert XML to BSON
  • hex - hex dump of any input, with a tiny bit of bson format awareness.
    also provided as a convenience for any OS where 'hexdump' is not already present.

Note: Many of these utilities expect input from stdin, to facilitate piping. Use -h to get help.

Documentation

See the doc/ folder.

Building

You will need the bson-cxx library (a dependancy) to build the tools. It is available on github.

Place it as a peer level directory on disk with bsontools. (That is you will see lines such as #include "../../../bson-cxx/" in the source code of these tools...)

To build with scons, assuming it is installed, just type "scons".

With Visual Studio, start by opening build/fromjson/fronjson.sln. The tools have been built and tested with Visual Studio 2013.

As written, these tools lightly use C++11. This is mainly to avoid any external dependencies; for example unique_ptr is used from C++11. The usage is light enough you should not need a very new compiler. It would not be hard to adapt back to C++03. Use -std=c++0x on the command line, which the SConscript file does for you...

Prebuilt binaries

Some can be found at https://github.com/dwight/binaries.

Licence

Apache 2.0.

Contributions

Send a pull request on github, thanks. We'll pull in things that we think fit although the goal is to keep things tidy and small. Of course you can always fork if you want to create something different.

Some automated tests would be real helpful for example...

Support

For help try posting to the BSON Google Groups forum.

bsontools's People

Contributors

dwight avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.