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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for mongo2json-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e23afe51f50676a2eb8197b4293021fd6031beac7c69e6ffa5e76c9fab90c16 |
|
MD5 | 25db1934282c83c745de45bbe1a81029 |
|
BLAKE2b-256 | 4ff1911c9c7f3ff431a13288800b3946a2d89a2efc87f983ee970b41f3755386 |