Skip to main content

Converts mongo shell JSON output to a valid JSON or a Python object

Project description

mongo2json

Converts mongo shell JSON output to a valid JSON or a Python object

Installation:

pip install mongo2json

Usage:

import mongo2json

data = mongo2json.loads(open('mongo_export.json').read())

Warning! Current implementation is slow as hell!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mongo2json-1.0.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

mongo2json-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page