Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Mar 14, 2024
1 parent cbb2fe3 commit 340b303
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DataSet.Serialize.Import.pas
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,11 @@ procedure TJSONSerialize.JSONObjectToDataSet(const AJSONObject: TJSONObject; con
LField.Clear;
Continue;
end;
{$IF DEFINED(FPC)}
if LJSONValue.AsString = EmptyStr then
{$ELSE}
if LJSONValue.Value = EmptyStr then
{$ENDIF}
begin
LField.Clear;
Continue;
Expand Down

0 comments on commit 340b303

Please sign in to comment.