json-repair 0.17.4__py3-none-any.whl → 0.19.0__py3-none-any.whl
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/json_repair.py +6 -1
- {json_repair-0.17.4.dist-info → json_repair-0.19.0.dist-info}/METADATA +1 -1
- json_repair-0.19.0.dist-info/RECORD +7 -0
- json_repair-0.17.4.dist-info/RECORD +0 -7
- {json_repair-0.17.4.dist-info → json_repair-0.19.0.dist-info}/LICENSE +0 -0
- {json_repair-0.17.4.dist-info → json_repair-0.19.0.dist-info}/WHEEL +0 -0
- {json_repair-0.17.4.dist-info → json_repair-0.19.0.dist-info}/top_level.txt +0 -0
json_repair/json_repair.py
CHANGED
@@ -178,7 +178,12 @@ class JSONParser:
|
|
178
178
|
if not value:
|
179
179
|
break
|
180
180
|
|
181
|
-
|
181
|
+
if value == "..." and self.get_char_at(-1) == ".":
|
182
|
+
self.log(
|
183
|
+
"While parsing an array, found a stray '...'; ignoring it", "info"
|
184
|
+
)
|
185
|
+
else:
|
186
|
+
arr.append(value)
|
182
187
|
|
183
188
|
# skip over whitespace after a value but before closing ]
|
184
189
|
char = self.get_char_at()
|
@@ -0,0 +1,7 @@
|
|
1
|
+
json_repair/__init__.py,sha256=IIzSm1DsCRrr8seF3UeMZXwxcq-tE3j-8d1WBxvEJvE,178
|
2
|
+
json_repair/json_repair.py,sha256=ORf1wm6wTXriTJBtCJtoFU4rEw4daAoqV0ktdyhcOT0,23775
|
3
|
+
json_repair-0.19.0.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
|
4
|
+
json_repair-0.19.0.dist-info/METADATA,sha256=Mj5le5SqwFzYmWGZWu5JbjZNqX4cYPP_h1XpQDYNeOI,7333
|
5
|
+
json_repair-0.19.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
+
json_repair-0.19.0.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
|
7
|
+
json_repair-0.19.0.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
json_repair/__init__.py,sha256=IIzSm1DsCRrr8seF3UeMZXwxcq-tE3j-8d1WBxvEJvE,178
|
2
|
-
json_repair/json_repair.py,sha256=HTeKyorj6ennan9ToprV-Hub633U76qgvXExm0mclnE,23559
|
3
|
-
json_repair-0.17.4.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
|
4
|
-
json_repair-0.17.4.dist-info/METADATA,sha256=JmwR4_i7AMj6E08Vy9I_y_zNm9Kk-2Avfz0or95M0Yc,7333
|
5
|
-
json_repair-0.17.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
6
|
-
json_repair-0.17.4.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
|
7
|
-
json_repair-0.17.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|