[fpc-devel] jsonrpc - does it still work?

Michael Van Canneyt michael at freepascal.org
Sat Nov 25 10:47:50 CET 2023



On Fri, 24 Nov 2023, Joost van der Sluis via fpc-devel wrote:

> Hi all,
>
> I'm playing with json-rpc but can't get it to work.
>
> I've tried the examples in fcl-web/examles/jsonrpc. I couldn't follow
> the readme as there are no lpi-files, so that the rttirpc.lpg does not
> work. But also this fails:

The .lpi files where not there because .lpi is in the ignore list, so I
never noticed they were not in the repo :/

I committed them, and removed the *.lpi stance from the .gitignore file.

I corrected the example. The "classname" property in the json-rpc request 
has been renamed to "class", but the example was not adapted for this. This
is now done.

I tested both client examples, both work.

Michael.


More information about the fpc-devel mailing list