Преглед на файлове

[jsonUtils] fixed Json file not properly formatted in case a string contains a single double quote (Issue #39)

Exilon преди 5 години
родител
ревизия
eb1b74b7ee
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Quick.JSON.Utils.pas

+ 1 - 1
Quick.JSON.Utils.pas

@@ -121,8 +121,8 @@ begin
           end;
       end;
     end;
-    isEscape := (c = '\') and not isEscape;
     if not isEscape and (c = '"') then isIntoString := not isIntoString;
+    isEscape := (c = '\') and not isEscape;
   end;
 end;