Skip to content

Releases: half-pie/half-json

add cases

06 Jun 13:36
0d09dec
Compare
Choose a tag to compare
Merge pull request #13 from half-pie/fix-ratio

Fix ratio && update readme

support half parse case

03 Jun 15:37
5fd4d67
Compare
Choose a tag to compare
Pre-release
case 1:  1, 2 --> [1, 2]
case 2: "a":  --> {"a":null}
caes 3: {}] --> [{}]

fix command line bug && result.success

03 Jun 14:27
d64bc47
Compare
Choose a tag to compare
Merge pull request #8 from half-pie/try-fix-stop

fix: fix bug && add feature

0.1.2: Merge pull request #6 from half-pie/use-decoder

02 Jun 13:26
1b623c4
Compare
Choose a tag to compare

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

add JSONFixer

01 Jun 16:06
7c91857
Compare
Choose a tag to compare
add JSONFixer Pre-release
Pre-release
Merge pull request #4 from half-pie/from-head

use JSONFixer

第一个初始版本

29 May 16:03
Compare
Choose a tag to compare
第一个初始版本 Pre-release
Pre-release

Try to fix broken json / truncated json.

Usage:

jsonfixer broken.json fixed.json