jsonyx
jsonyx is a customizable JSON library for Python 3.8+. It
is written in pure Python with an optional C extension for better performance
and no dependencies.
Key Features
- JSON encoding, decoding and patching:
>>> import jsonyx as json >>> json.dumps(["foo", {"bar": ("baz", None, 1.0, 2)}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]\n' >>> json.loads('{"foo": ["bar", null, 1.0, 2]}') {'foo': ['bar', None, 1.0, 2]} >>> json.apply_patch([1, 2, 3], {"op": "del", "path": "$[1]"}) [1, 3]
- Compact formatting of arrays and objects:
{ "foo": [1, 2, 3], "bar": {"a": 1, "b": 2, "c": 3} }
- Optionally supports these JSON deviations (specified in the documentation):
{ /* Block */ // and line comments "Missing commas": [1 2 3], "NaN and infinity": [NaN, Infinity, -Infinity], "Surrogates": "\ud800", "Trailing comma": [0,], "Unquoted keys": {key: "value"} }
- Detailed error messages:
Traceback (most recent call last): File "/Users/wannes/Downloads/broken.json", line 1, column 99-381 ...sList": {"GlossEntry": {"ID": "SGM..."GML", "XML"]}, "GlossSee": "markup" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jsonyx.JSONSyntaxError: Unterminated object
The documentation for jsonyx is available online at: https://jsonyx.readthedocs.io
Metadata
Release files for jsonyx 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jsonyx-2.5.0.tar.gz | 60.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsonyx-2.5.0-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
Total release size: 134.4 kB
Release files / jsonyx-2.5.0.tar.gz
| Download URL | jsonyx-2.5.0.tar.gz |
|---|---|
| Size | 60.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dd6f042a1f0e195abb89709e9953088004be526211ca42d4df903f8e51d39e2
|
|
BLAKE2b-256 checksum How to use checksums |
9e0e14a1e01fe3491b931e05af2c4db485c1f5b61fa049ec8740bb3e89a68b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.17
|
Release files / jsonyx-2.5.0-cp313-cp313-win_amd64.whl
| Download URL | jsonyx-2.5.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 73.9 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d40ddd1829fff262bc98b1f0639af988c6e399301de3dd7314fe32c4c4514b5a
|
|
BLAKE2b-256 checksum How to use checksums |
cdacc1bb9ab511f743a5834532cd7dfcf5408b837b1a5b635380bfee1e33e407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.17
|
Security for jsonyx 2.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.