Hello..
TTest = class
private
FId: integer;
end;
TMain = class
private
FDI: TList<TTest>;
end;
and try to serialize as follow
var X := TMain.Create;
X.FDI := TList<TTest>.Create;
VAR A := TTest.Create;
A.FId := 1;
X.FDI.Add(A);
var ser := TJson.Serialize(X);
then I will get an Exception: "'Could not find JSON converter for type "Pointer"'
the problem the class TTest. If i change the data type of list to TList .. then the seralization is successful. By the same way if I change TList for a simple Array, also is successful.