We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa2a84 commit 47d0364Copy full SHA for 47d0364
src/core/mormot.core.json.pas
@@ -7430,7 +7430,7 @@ procedure _JL_Double(Data: PDouble; var Ctxt: TJsonParserContext);
7430
if Ctxt.ParseNext then
7431
begin
7432
unaligned(Data^) := GetExtended(Ctxt.Value, err);
7433
- Ctxt.Valid := err = 0;
+ Ctxt.Valid := (Ctxt.Value = nil) or (err = 0);
7434
end;
7435
7436
@@ -7441,7 +7441,7 @@ procedure _JL_Extended(Data: PSynExtended; var Ctxt: TJsonParserContext);
7441
7442
7443
Data^ := GetExtended(Ctxt.Value, err);
7444
7445
7446
7447
src/mormot.commit.inc
@@ -1 +1 @@
1
-'2.0.4856'
+'2.0.4857'
0 commit comments