Am 04.04.2021 um 22:19 schrieb Ryan Joseph via fpc-pascal:

On Apr 4, 2021, at 1:07 PM, Sven Barth via fpc-pascal 
<fpc-pascal@lists.freepascal.org> wrote:

Only classes or interfaces are supported as published *fields*.

And the visibility of the *property* does not change the visibility of the 
*field*, after all the property could be provided by a method.

I know FPC can deserialize JSON with TJSONDeStreamer so maybe I need to use the 
RTTI functions in TypInfo.pas?
The RTTI streaming relies on *published properties* (and published methods for the event handlers).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to