json-repair 0.12.0__py3-none-any.whl → 0.12.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.
@@ -246,9 +246,9 @@ class JSONParser:
246
246
  if char != rstring_delimiter:
247
247
  self.insert_char_at(rstring_delimiter)
248
248
  else:
249
- if double_double_quotes:
250
- self.index += 1
251
249
  self.index += 1
250
+ if double_double_quotes and self.get_char_at() == '"':
251
+ self.index += 1
252
252
 
253
253
  return self.json_str[start:end]
254
254
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: json_repair
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: A package to repair broken json strings
5
5
  Author-email: Stefano Baccianella <4247706+mangiucugna@users.noreply.github.com>
6
6
  License: MIT License
@@ -0,0 +1,7 @@
1
+ json_repair/__init__.py,sha256=p9mZnte8Bg18NcxqgJ7vopH2gQv_XbZ0dRnk686QuRE,92
2
+ json_repair/json_repair.py,sha256=AHQhuR_pgK5WOeBOTxxV1GFF2NCJ9BR3eQyrbw5QG-0,14343
3
+ json_repair-0.12.1.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
4
+ json_repair-0.12.1.dist-info/METADATA,sha256=V3VnWno65fWYped09KMIHrOM0XgOrWTZm3tzO9f347w,6581
5
+ json_repair-0.12.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
+ json_repair-0.12.1.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
7
+ json_repair-0.12.1.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- json_repair/__init__.py,sha256=p9mZnte8Bg18NcxqgJ7vopH2gQv_XbZ0dRnk686QuRE,92
2
- json_repair/json_repair.py,sha256=zNamT7zlt0nl-isdXqgyiizmAYe0wiuZMV76t-7Kv8M,14313
3
- json_repair-0.12.0.dist-info/LICENSE,sha256=wrjQo8MhNrNCicXtMe3MHmS-fx8AmQk1ue8AQwiiFV8,1076
4
- json_repair-0.12.0.dist-info/METADATA,sha256=4oogqw_SdojZXacViq9ZU_Fl73JDxuJwkLDB7e5-3vE,6581
5
- json_repair-0.12.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
- json_repair-0.12.0.dist-info/top_level.txt,sha256=7-VZwZN2CgB_n0NlSLk-rEUFh8ug21lESbsblOYuZqw,12
7
- json_repair-0.12.0.dist-info/RECORD,,