Skip to main content

Swap between DynamoDB JSON and normal JSON

Project description



Sick of DynamoDB using its own data type descriptors? Swap between DynamoDB and normal JSON!


Install from PyPI via pip:

pip install dynamo_json


Use as a library

import dynamo_json

dynamo_json.marshall({"some": ["json", "document"]})

# {"some": {"L": [{"S": "json"}, {"S": "document"}]}}

dynamo_json.unmarshall({"some": {"L": [{"S": "json"}, {"S": "document"}]}})

# {"some": ["json", "document"]}

or as a CLI tool

$ dynamo-json '{"my": "json"}'
{"my": {"S": "json"}}

$ dynamo-json '{"my": {"S": "dynamo-json"}}'
{"my": "dynamo-json"}

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

dynamo-json-1.2.0.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

dynamo_json-1.2.0-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page