bson-converter

Converts BSON into JSON (or CSON) and vice versa

idleberg

3,133

0

0.5.0

MIT

GitHub

bson-converter

apm apm apm Travis David

Converts BSON into JSON (or CSON) and vice versa

Installation

apm

Install bson-converter from Atom's Package Manager or the command-line equivalent:

$ apm install bson-converter

Using Git

Change to your Atom packages directory:

# Windows
$ cd %USERPROFILE%\.atom\packages

# Linux & macOS
$ cd ~/.atom/packages/

Clone the repository as bson-converter:

$ git clone https://github.com/idleberg/atom-bson-converter bson-converter

Install dependencies:

cd bson-converter && npm install

Usage

Once installed, two commands are exposed to the command palette:

You can tweak the behavior by adjusting the many options available in the package settings.

Keyboard Shortcuts

The following examples use the macOS keyboard shortcuts. On Linux or Windows use Shift+Super as modifier key

Memorizing the keyboard shortcuts for conversion is easy. Just think of the B key for BSON, the J key for JSON:

Action Mnemonic Shortcut
BSON to JSON (or CSON) “B to J” Ctrl+Cmd+B, Ctrl+Cmd+J
JSON (or CSON) to BSON “J to B” Ctrl+Cmd+J, Ctrl+Cmd+B

License

This work is licensed under the The MIT License.

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd