Skip to main content

jsua

License PyPI CircleCI

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)

Source distribution for jsua 0.0.2
File Size Uploaded
jsua-0.0.2.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jsua 0.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page