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