json-repair 0.27.0__py3-none-any.whl → 0.27.1__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 +1 -1
- {json_repair-0.27.0.dist-info → json_repair-0.27.1.dist-info}/METADATA +1 -1
- json_repair-0.27.1.dist-info/RECORD +7 -0
- json_repair-0.27.0.dist-info/RECORD +0 -7
- {json_repair-0.27.0.dist-info → json_repair-0.27.1.dist-info}/LICENSE +0 -0
- {json_repair-0.27.0.dist-info → json_repair-0.27.1.dist-info}/WHEEL +0 -0
- {json_repair-0.27.0.dist-info → json_repair-0.27.1.dist-info}/top_level.txt +0 -0
json_repair/json_repair.py
CHANGED
@@ -412,7 +412,7 @@ class JSONParser:
|
|
412
412
|
string_acc += char
|
413
413
|
self.index += 1
|
414
414
|
char = self.get_char_at()
|
415
|
-
if len(string_acc) >
|
415
|
+
if len(string_acc) > 0 and string_acc[-1] == "\\":
|
416
416
|
# This is a special case, if people use real strings this might happen
|
417
417
|
self.log("Found a stray escape sequence, normalizing it", "info")
|
418
418
|
string_acc = string_acc[:-1]
|
@@ -0,0 +1,7 @@
|
|
1
|
+
json_repair/__init__.py,sha256=IIzSm1DsCRrr8seF3UeMZXwxcq-tE3j-8d1WBxvEJvE,178
|
2
|
+
json_repair/json_repair.py,sha256=54sOesew2z21WAd4UVaEYOLI8oUkSqF8Z4HbkYBdCj8,31792
|
3
|
+
json_repair-0.27.1.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
|
4
|
+
json_repair-0.27.1.dist-info/METADATA,sha256=z1CIA9xV6Cnd7Ko49bZ1snzdwJHK-ev8vKCfhV62vzo,7863
|
5
|
+
json_repair-0.27.1.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
6
|
+
json_repair-0.27.1.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
|
7
|
+
json_repair-0.27.1.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
json_repair/__init__.py,sha256=IIzSm1DsCRrr8seF3UeMZXwxcq-tE3j-8d1WBxvEJvE,178
|
2
|
-
json_repair/json_repair.py,sha256=f3CYSD1B2fHC5CG3dkZszqExgYifo2-Bz-9ahapgbDc,31792
|
3
|
-
json_repair-0.27.0.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
|
4
|
-
json_repair-0.27.0.dist-info/METADATA,sha256=9Imy3Kvz12w7dEs5OBUX6k_REfYdSVLqrywzTGUJ500,7863
|
5
|
-
json_repair-0.27.0.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
6
|
-
json_repair-0.27.0.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
|
7
|
-
json_repair-0.27.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|