EnglishFrenchSpanish

OnWorks favicon

bsondump - Online in the Cloud

Run bsondump in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bsondump that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bsondump - MongoDB BSON utility

SYNOPSIS


The bsondump converts BSON files into human-readable formats, including JSON. For example,
bsondump is useful for reading the output files generated by mongodump.

OPTIONS


bsondump

--help Returns a basic help and usage text.

--verbose, -v
Increases the amount of internal reporting returned on the command line. Increase
the verbosity with the -v form by including the option multiple times, (e.g.
-vvvvv.)

--version
Returns the version of the bsondump utility.

--objcheck
Validates each BSON object before outputting it in JSON format. By default,
bsondump enables --objcheck by default. For objects with a high degree of
sub-document nesting, --objcheck can have a small impact on performance. You can
set --noobjcheck to disable object checking.

Changed in version 2.4: MongoDB enables --objcheck by default, to prevent any
client from inserting malformed or invalid BSON into a MongoDB database.

--noobjcheck
New in version 2.4.

Disables the default document validation that bsondump performs on all BSON
documents.

--filter '<JSON>'
Limits the documents that bsondump exports to only those documents that match the
JSON document specified as '<JSON>'. Be sure to include the document in single
quotes to avoid interaction with your system's shell environment.

--type <=json|=debug>
Changes the operation of bsondump from outputting "JSON" (the default) to a
debugging format.

<bsonfilename>
The final argument to bsondump is a document containing BSON. This data is
typically generated by mongodump or by MongoDB in a rollback operation.

USAGE


By default, bsondump outputs data to standard output. To create corresponding JSON files,
you will need to use the shell redirect. See the following command:

bsondump collection.bson > collection.json

Use the following command (at the system shell) to produce debugging output for a BSON
file:

bsondump --type=debug collection.bson

Use bsondump online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad