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
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
json-canonical-1.0.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for json_canonical-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01590b8b5ad7e88ee00e9d6dd057e1fc45719457662caac4fa10c615a694cff3 |
|
MD5 | 919888243c2d41800b718b08e88286b2 |
|
BLAKE2b-256 | bde6ef82895ccd51f9363cd76a01d3c7cd5d5cfcbfb7e76e38b0380b72ed2e76 |