Skip to content

Commit 4ba4284

Browse files
author
Arnaud Bouchez
committed
fixed JsonToNewObject()
1 parent 509c856 commit 4ba4284

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/mormot.core.json.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11285,6 +11285,7 @@ function JsonToNewObject(var From: PUtf8Char; var Valid: boolean;
1128511285
begin
1128611286
ctxt.InitParser(From, nil, Options, nil, nil, Interning);
1128711287
result := ctxt.ParseNewObject;
11288+
Valid := ctxt.Valid;
1128811289
end;
1128911290

1129011291
function PropertyFromJson(Prop: PRttiCustomProp; Instance: TObject;

src/mormot.commit.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'2.2.7340'
1+
'2.2.7341'

0 commit comments

Comments
 (0)