Simplejsonseq

Latest version: v0.2.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

------------------

Code changes
~~~~~~~~~~~~
* Support older Python versions, starting with 2.7 and 3.4.

Documentation changes
~~~~~~~~~~~~~~~~~~~~~
* Describe buffering and JSON settings in README.

0.2.0

------------------

Format changes
~~~~~~~~~~~~~~
* Detect truncated items on reading as required by the RFC.

Interface changes
~~~~~~~~~~~~~~~~~
* Make single-item reading errors non-fatal and roundtrip invalid items
using the ``InvalidJSON`` wrapper. Writing disallows invalid items by
default, but reading allows them, as recommended by the RFC.
* Move reading and writing into ``JSONSeqReader`` and ``JSONSeqWriter``,
which also become context managers. Make it invalid to call ``dump()``
several times (a ``JSONSeqWrter`` should be created instead, or a
``JSONSeqEncoder`` should be used directly).
* Move decoding and encoding into ``JSONSeqDecoder`` and
``JSONSeqEncoder``.
* Support passing either a constructed JSON codec or a codec constructor
and arguments.

Code changes
~~~~~~~~~~~~
* Add comprehensive tests.

0.1.0

------------------

* Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.