소스 검색

[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;