fix this bug for cjson
>>>import cjson
>>>print cjson.encode({1:2})
Traceback (most recent call last):
File "test.py", line 11, in <module>
print cjson.encode({1:2})
EncodeError: JSON encodable dictionaries must have string/unicode keys
>>>import czjson
>>>print czjson.dumps({1:2})
{"1":2}
===========================================================
This module implements a very fast JSON encoder/decoder for Python.
JSON stands for JavaScript Object Notation and is a text based lightweight
data exchange format which is easy for humans to read/write and for machines
to parse/generate. JSON is completely language independent and has multiple
implementations in most of the programming languages, making it ideal for
data exchange and storage.
The module is written in C and it is up to 250 times faster when compared to
the other python JSON implementations which are written directly in python.
This speed gain varies with the complexity of the data and the operation and
is the the range of 10-200 times for encoding operations and in the range of
100-250 times for decoding operations.
>>>import cjson
>>>print cjson.encode({1:2})
Traceback (most recent call last):
File "test.py", line 11, in <module>
print cjson.encode({1:2})
EncodeError: JSON encodable dictionaries must have string/unicode keys
>>>import czjson
>>>print czjson.dumps({1:2})
{"1":2}
===========================================================
This module implements a very fast JSON encoder/decoder for Python.
JSON stands for JavaScript Object Notation and is a text based lightweight
data exchange format which is easy for humans to read/write and for machines
to parse/generate. JSON is completely language independent and has multiple
implementations in most of the programming languages, making it ideal for
data exchange and storage.
The module is written in C and it is up to 250 times faster when compared to
the other python JSON implementations which are written directly in python.
This speed gain varies with the complexity of the data and the operation and
is the the range of 10-200 times for encoding operations and in the range of
100-250 times for decoding operations.
Metadata
Release files for czjson 1.0.8
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 | |
|---|---|---|---|---|
| czjson-1.0.8.tar.gz | 11.3 kB | Without provenance | Details |
Release files / czjson-1.0.8.tar.gz
| Download URL | czjson-1.0.8.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7cd5ce6131b6b47ce25c9c1427729503a75e543030a1d586fa58b5e7d6aee94
|
|
BLAKE2b-256 checksum How to use checksums |
3b0c83bc5fda10c3605471a7c632c5df299fec35a66c23687549000271946b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for czjson 1.0.8
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.