New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I have try to test you REST api, but have a error when complile it. #7
Comments
Also do you have some demo code? Thank you. |
Hi, what your delphi version? |
Hello, Delphi XE . Thanks |
I reviewed the packages for D7, XE and XE2 and could not reproduce the problem. The method toJSON is declared in class helper TSuperObjectHelper inside the unit SuperObject. Maybe you have in your library path an older version of SuperObject that does not contain this helper, anyway, you must use the library SuperObject that is inside the folder lib\superobject because it contains modifications. About the demo, I'll work on that. |
i am having trouble compiling the demo code in Delphi7, (ufrm_personlist.pas line : 105) |
Sorry for the delay in answering your question. The method you are using makes use of Generics, and is only available from I intend to implement serialization for Delphi 7 soon, but for now, you Follow the project on github that will soon have news about serialization 2013/7/14 prakashgoswami notifications@github.com
Atenciosamente Fabricio Colombo Desenvolvedor Delphi e Java |
Olá, Fabricio tudo bem. Estou tentando instalar a biblioteca RestClient no meu Delphi XE2, mas ao compilar me apresenta o seguinte erro no arquivo Restclient.pas, na função : function TResource.Post(Entity: TObject): TObject; "[DCC Error] RestClient.pas(1001): E2250 There is no overloaded version of 'Post' that can be called with these arguments" O que pode ser será? Abraço |
Delphi 10.2 Tokyo support (#7)
I can confirm the comment from Abraco from November 2017. [dcc32 Fehler] RestClient.pas(1001): E2250 Es gibt keine überladene Version von 'Post', die man mit diesen Argumenten aufrufen kann [dcc32 Fehler] RestClient.pas(1028): E2250 Es gibt keine überladene Version von 'Put', die man mit diesen Argumenten aufrufen kann [dcc32 Fehler] RestClient.pas(1065): E2250 Es gibt keine überladene Version von 'Patch', die man mit diesen Argumenten aufrufen kann How to fix it? |
class function TJsonUtilGenerics.Marshal(entity: TObject): string;
begin
Result := entity.ToJson().AsJSon();
end;
[DCC Error] RestJsonGenerics.pas(26): E2003 Undeclared identifier: 'ToJson'
Is the function ToJson still not implement yet? Or I have miss something?
Thanks
The text was updated successfully, but these errors were encountered: