jsonyx module
Project description
jsonyx
jsonyx is a robust JSON encoder and decoder for Python 3.10+. It is written in pure Python with an optional C extension for better performance and no dependencies
Key Features:
- Dedicated functions for reading and writing files
- Detailed error messages:
File "C:\Users\wanne\Downloads\broken.json", line 2, column 15-19 "path": "c:\users" ^^^^ jsonyx._decoder.JSONSyntaxError: Expecting 4 hex digits
- Optionally supports these JSON deviations:
{ /* Block */ // and line comments "Decimal numbers": [1.0000000000000001, 1e400], "Duplicate keys": {"key": "value 1", "key": "value 2"}, "Missing comma's": [1 2 3], "NaN and infinity": [NaN, Infinity, -Infinity], "Trailing comma": [0,], "Surrogates": "\ud800" }
The latest documentation for jsonyx is available online at: https://jsonyx.readthedocs.io/en/stable/usage.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonyx-1.0.8.tar.gz
(41.4 kB
view hashes)
Built Distribution
Close
Hashes for jsonyx-1.0.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a629f22f471bac62147553e8d58106e8c60b689a6c584bcfedf001700444403e |
|
MD5 | d4847feb68ec4d8247f73e3b8d863ea2 |
|
BLAKE2b-256 | 79f4fc8ee8752217366ce36196896f897ebe153bf51c1e0884b79ea2c82c973f |