OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

py3-canonicaljson-2.0.0p2

canonical JSON

Back to search · Project homepage

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, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Build

Test

Used by (4 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON