{"library":"canonicaljson","type":"library","category":null,"description":"Canonical JSON is a Python library designed to produce a deterministic, byte-for-byte consistent JSON serialization of Python data structures. This is crucial for applications requiring cryptographic hashing or signatures where the exact byte representation of JSON data must be consistent across different environments and executions. The library is currently at version 2.0.0 and maintains an active development and release cadence.","language":"python","status":"active","version":"2.0.0","tags":["json","canonicalization","serialization","data integrity","cryptography","hashing"],"last_verified":"Sun May 24","install":[{"cmd":"pip install canonicaljson","imports":["from canonicaljson import encode_canonical_json","from canonicaljson import register_preserialisation_callback"]}],"homepage":null,"github":"https://github.com/matrix-org/python-canonicaljson","docs":null,"changelog":null,"pypi":"https://pypi.org/project/canonicaljson/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/canonicaljson/compatibility"}}