Package Info

python-canonicaljson


Canonical JSON for Python


Development/Languages/Python

This is a Python module which encodes objects and arrays into JSON as per RFC 7159.

  • Sorts object keys so that it yields the same result each time.
  • Has no insignificant whitespace to make the output as small as possible.
  • Escapes only the characters that must be escaped, U+0000 to U+0019 / U+0022 / U+0056, to keep the output as small as possible.
  • Uses the shortest escape sequence for each escaped character.
  • Encodes the JSON as UTF-8.
  • Can encode frozendict immutable dictionaries.

License: Apache-2.0
URL: https://github.com/matrix-org/python-canonicaljson

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.1.4-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-canonicaljson
1.1.4-bp155.2.9 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-canonicaljson
1.1.4-bp154.1.35 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-canonicaljson
1.1.4-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-canonicaljson
  • python3-canonicaljson
1.1.4-bp152.1.8 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-canonicaljson
  • python3-canonicaljson
1.1.3-bp151.2.10 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-canonicaljson
  • python3-canonicaljson
1.1.3-bp150.2.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-canonicaljson
  • python3-canonicaljson