Skip to main content

Conanicalize JSON in JCS format

Project description

This is a Python package for a JCS (RFC 8785) compliant canonicalizer. The source code is taken from Python2 folder from this repo.

The main author of this code is Anders Rundgren. I have forked his repo and ported Python3 code to Python 2.7.

Installation

pip install json-canonical

Using the JSON canonicalizer

from json_canonical import canonicalize

data = canonicalize({"tag":4})

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

json-canonical-2.0.0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

json_canonical-2.0.0-py3-none-any.whl (8.4 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