LZON (Lazy JSON)
Sometimes, an API may not provide the response as a fully developed JSON object. Certain keys might need to be reparsed as JSON before you can then continue to index it. LZON should help with this. You index, and it only parses when it's relevant.
Example
import lzon
response = r"""
{
"bumble": "{\"bee\": [1, 2, 64]}"
}
"""
data = lzon.loads(response)
print(data['bumble']['bee'][2]) # Should return 64
Metadata
Release files for lzon 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lzon-0.1.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lzon-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / lzon-0.1.1.tar.gz
| Download URL | lzon-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f0c1c9bd9b88c53518b30fa4db25dfe9b9cbddea451ecc68246cbf8fb13ca03
|
|
BLAKE2b-256 checksum How to use checksums |
b704b1a362e9f9cbdca5ffe4245c907f0501a57d39ca3fbb35e0a69d2b8101ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / lzon-0.1.1-py3-none-any.whl
| Download URL | lzon-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad98d57531926f439626dd779863b78e87af8e6114a49a9d9fb9215cd9c5dc71
|
|
BLAKE2b-256 checksum How to use checksums |
1f5c5537814552a4fe683acacfc09293671881eed43a823d269116926eedb8af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|