jsua
jsua, pronounced Joshua, is a streaming sax-like parser for JSON files. It’s special because it doesn’t require you to start at the beginning of a JSON stream. You can start anywhere, and it will eventually start spitting out events.
Usage
from jsua import SynchronizingParser
from io import StringIO
json = StringIO('{"hello": "world"}')
parser = SynchronizingParser(json)
for state, event, value in parser.parse():
print(state, event, value)
Release files for jsua 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jsua-0.0.2.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsua-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / jsua-0.0.2.tar.gz
| Download URL | jsua-0.0.2.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e340b07ac6a03802323e6e2006e4d663c91bad3e248f9760db302026ecd49439
|
|
BLAKE2b-256 checksum How to use checksums |
90e5988c4934ed86119ff65155303a7fd7265d464e86f182c9f8520e7c90002a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / jsua-0.0.2-py3-none-any.whl
| Download URL | jsua-0.0.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fdbbd27bd40305ac49457fb14762e9b5d98780664870cdf802153a5e90f3f1e
|
|
BLAKE2b-256 checksum How to use checksums |
57f9ceb0b29685fee54e9e0fdeb29a1815cf63e1395e43a2c5848f96b901bb67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |