Incorrect toString for _double
Status: Beta
Brought to you by:
fabiorecife
The function toString:string of _Double returns the value in quotationmarks, which is not standard JSON.
It also loses precision, since formatFloat is used with a formatstring which has only 2 digits after the decimal point.
Solution:
function _Double.toString: string;
begin
result := StringReplace(FloatToStr(fvalue),',','.',[rfReplaceAll]);
end;