fcl-json: clean up

This commit is contained in:
mattias 2025-07-22 13:20:18 +02:00
parent f1f28e35e1
commit 5bf63265aa

View File

@ -1740,6 +1740,7 @@ end;
procedure TJSONData.DoFormatJSON(var Ctx: TFormatJSONContext; CurrentIndent : SizeInt);
begin
if CurrentIndent=0 then ;
Ctx.Append(AsJSON);
end;
@ -2252,10 +2253,9 @@ begin
Ctx.Append(TJSONStringType(FloatToStr(FValue,JSONFormatSettings)))
else
Ctx.Append(AsJSON);
if CurrentIndent=0 then ;
end;
constructor TJSONFloatNumber.Create(AValue: TJSONFloat);
begin
FValue:=AValue;