Simple Editor for BSON Databases

Did You try this: http://docs.mongodb.org/manual/reference/bsondump/ ?


The installation package that includes mongodump ('mongo-tools' on Ubuntu) should also include bsondump, for which the manpage says:

bsondump - examine BSON files in a human-readable form

You can convert BSON to JSON with the following:

bsondump --pretty <your_file.bson

As a data interchange format, BSON may not be suitable for editing directly. For manipulating a BSON dataset, you could, of course, upload it to MonogDB and work with that. Or, you could open the bsondump decoded JSON in an editor. But the BSON Wikipedia article indicates that compatible libraries exist in several languages, which suggests that you should also be able to decode it programmatically to an internal map representation and edit that internal representation in code.

Tags:

Json

Bson