You are not logged in.
Pages: 1
When JSON looks like:
{"fieldCount":2,"values":["email","licNum","x1@macau.ctm.net",01,"x2@gte.net",01,"x3@active8.nl",01,"x4@unetek.com",01,"x5@home.com",01,"x6@harvard.edu",01,"x7@eds.com",01,"x8@optonline.net",01,"x9@maties.sun.ac.za",01,"x10@pateam.com",01],"rowCount":10}
The JSONToDataSet parses only first row and the other rows of FDataSet is empty
FDataSet := JSONToDataSet(self, FRawResult);
Screenshot:
Offline
With the last source (edf68f6b07 ) all work fine.
Offline
Note that AFAIK 01 is an invalid JSON number.
See http://json.org
Online
I agree, but JSON was generated by function ISQLDBRows.FetchAllAsJSON
var
res : ISQLDBRows;
Result : RawUtf8;
FProp : TSQLDBFireDACConnectionProperties;
begin
...
Res := FProp.ExecuteInlined(SQL, True);
if res = nil then
Result := ''
else
Result := res.FetchAllAsJSON(False);
end;
Offline
Pages: 1