Metadata-Version: 2.0
Name: jsua
Version: 0.0.2
Summary: A parser for JSON that can start at an arbitrary point in the file
Home-page: https://github.com/tecywiz121/jsua
Author: Sam Wilson
Author-email: sam@binarycake.ca
License: LGPL
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)

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
-----

.. code:: python

    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)

.. |License| image:: https://img.shields.io/badge/license-LGPL-blue.svg
.. |PyPI| image:: https://img.shields.io/pypi/v/jsua.svg?maxAge=86400
.. |CircleCI| image:: https://img.shields.io/circleci/project/tecywiz121/jsua.svg?maxAge=86400


