Halfjson

Latest version: v0.1.2

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

Scan your dependencies

0.1.2

usage like this.


In [11]: from half_json.core import JSONFixer
In [12]: f = JSONFixer(max_try=100)
In [13]: line = '[{a'
In [14]: f.fix(line)
Out[14]: FixResult(success=True, line='[{"a":null}]', origin=False)
In [15]:


TODO: add click for command jsonfixer

0.1.2a

0.1.0

Try to fix broken json / truncated json.

Usage:

bash
jsonfixer broken.json fixed.json

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.