<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body smarttemplateinserted="true">
<div id="smartTemplate4-template">Hi,<br>
</div>
<div>there are also two lines in the json scanner where it tries to
repair numbers with leading dots '.123' to '0.123':<br>
<p> If (FCurTokenString[1]='.') then<br>
FCurTokenString:='0'+FCurTokenString;</p>
<p>They should probably be removed. Not only are those numbers
invalid in json, it is also very slow to allocate a new string.
And StrToFloat works with '.123', so it should not change
anything.</p>
<p>Although removing them would break programs that cannot handle
'.123', they are broken anyways, because it is not adding a zero
to '-.123'. <br>
</p>
</div>
<div><br>
Best,<br>
Benito <br>
</div>
</body>
</html>