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.0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for json_canonical-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 096d1700fdb9dce0f9ef45d69557c0477cfef29300858e3b8e49a594b1441a43 |
|
MD5 | 72353a3c5a017105366f985259abf338 |
|
BLAKE2b-256 | 23f43eab01fa75d482b48ac5679dfbe2b7b24869c8e7f7d97ac0ae7155afd49b |