Closed GoogleCodeExporter closed 9 years ago
Yes, I faced to this problem too.
Please take your attention to it.
Original comment by vladimir...@gmail.com
on 5 Mar 2015 at 4:12
I changed one of overloaded faunctions to get the correct JSON for TObjectList
We need to remember, that deserializing will not works for inherited classes
i.e.
TNewClass = class(TObjectList<TSomeClass>)
end;
class function TSerializeParse.IsGenerics(Cls: TClass): Boolean;
var
Info: TGenericsInfo;
Ctx: TRttiContext;
Typ: TRttiType;
begin
Ctx := TRttiContext.Create;
try
Typ := Ctx.GetType(Cls);
result:=IsGenerics(Typ);
finally
Ctx.Free;
end;
end;
Original comment by vladimir...@gmail.com
on 5 Mar 2015 at 6:50
This issue was closed by revision r89.
Original comment by onryld...@gmail.com
on 10 Mar 2015 at 10:20
Original issue reported on code.google.com by
svenbemm...@gmail.com
on 12 Dec 2014 at 8:49Attachments: