json-repair 0.12.2__tar.gz → 0.12.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {json_repair-0.12.2/src/json_repair.egg-info → json_repair-0.12.3}/PKG-INFO +1 -1
- {json_repair-0.12.2 → json_repair-0.12.3}/pyproject.toml +1 -1
- {json_repair-0.12.2 → json_repair-0.12.3}/src/json_repair/json_repair.py +1 -1
- {json_repair-0.12.2 → json_repair-0.12.3/src/json_repair.egg-info}/PKG-INFO +1 -1
- {json_repair-0.12.2 → json_repair-0.12.3}/tests/test_json_repair.py +1 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/LICENSE +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/README.md +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/setup.cfg +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/src/json_repair/__init__.py +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/src/json_repair.egg-info/SOURCES.txt +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/src/json_repair.egg-info/dependency_links.txt +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/src/json_repair.egg-info/top_level.txt +0 -0
- {json_repair-0.12.2 → json_repair-0.12.3}/tests/test_performance.py +0 -0
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
[project]
|
5
5
|
name = "json_repair"
|
6
|
-
version = "0.12.
|
6
|
+
version = "0.12.3"
|
7
7
|
license = {file = "LICENSE"}
|
8
8
|
authors = [
|
9
9
|
{ name="Stefano Baccianella", email="4247706+mangiucugna@users.noreply.github.com" },
|
@@ -109,6 +109,7 @@ def test_repair_json():
|
|
109
109
|
assert repair_json('{""answer"":[{""traits"":''Female aged 60+'',""answer1"":""5""}]}') == '{"answer": [{"traits": "Female aged 60+", "answer1": "5"}]}'
|
110
110
|
assert repair_json('{""answer":[{""traits":""Female aged 60+",""answer1":""5"}]}') == '{"answer": [{"traits": "Female aged 60+", "answer1": "5"}]}'
|
111
111
|
assert repair_json('{"key":"",}') == '{"key": ",}"}'
|
112
|
+
assert repair_json('{ "words": abcdef", "numbers": 12345", "words2": ghijkl" }') == '{"words": "abcdef", "numbers": 12345, "words2": "ghijkl"}'
|
112
113
|
|
113
114
|
|
114
115
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|