canonical JSON
Project homepage: https://github.com/matrix-org/python-canonicaljson
Description
Python module to encode JSON in a standard format.
* Encodes objects and arrays as RFC 7159 JSON.
* Sorts object keys so that you get 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.
Package information
- Ports path
- textproc/py-canonicaljson
- Package architecture
- amd64
- Maintainer
- Renaud Allard <renaud@allard.it>
- Categories
- textproc, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
Used by (4 dependency relationships)
Includes library, runtime, build and test dependencies.