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-2.0.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for json_canonical-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a572808ee94cdf7b50a168b968b65141449acc4703497d308ae5cf42bf9a403 |
|
MD5 | 47380b63305f310b89702890a0e40c73 |
|
BLAKE2b-256 | cff0dad74b3678d7794776c8dc7a58a3864dc6861266a5e71c93907b37371b9b |