mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 00:08:17 +02:00
21 lines
373 B
ObjectPascal
21 lines
373 B
ObjectPascal
{$mode objfpc}{$H+}
|
|
|
|
unit ub0674;
|
|
|
|
interface
|
|
|
|
type
|
|
TMyClass = class
|
|
public
|
|
generic function CreateObjectFromJSONString<T{: TObject}>(AJSONString: String; ADescriptionTag: string = ''): T;
|
|
end;
|
|
|
|
implementation
|
|
|
|
generic function TMyClass.CreateObjectFromJSONString<T>(AJSONString: String; ADescriptionTag: string): T;
|
|
begin
|
|
Result:=Nil;//T.Create;
|
|
end;
|
|
|
|
end.
|