mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 17:10:12 +02:00
fcl-json: clean up
This commit is contained in:
parent
f1f28e35e1
commit
5bf63265aa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user