Metadata-Version: 2.5
Name: jsoncanon
Version: 0.2.4
Summary: Typed Python implementation of JSON Canonicalization Scheme as described in RFC 8785. Currently lacks full floating point support
Project-URL: repository, https://github.com/sveinugu/jsoncanon
Project-URL: releases, https://github.com/sveinugu/jsoncanon/releases
Author-email: Sveinung Gundersen <sveinugu@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: JSON,RFC-8785,canonicalization,deterministic,hash,serialization
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries
Requires-Python: <4.0,>=3.10
Description-Content-Type: text/markdown

# jsoncanon

Typed Python implementation of JSON Canonicalization Scheme as described in
[RFC 8785](https://www.rfc-editor.org/rfc/rfc8785.html). The initial release (v0.2.x) is a partial release focused on the
features needed by the [Sequence Collections working group](https://seqcol.readthedocs.io/) in the
[Global Alliance for Genomics and Health (GA4GH)](https://www.ga4gh.org/).

## Usage

```
>>> import json
>>> from jsoncanon import canonicalize
>>>
>>> data = json.loads('{ "b": [1,3,7], "a": { "y": true, "x": null } }')
>>> canonicalize(data)
b'{"a":{"x":null,"y":true},"b":[1,3,7]}'
```
