[fpc-pascal] Usage of FieldAddress

Sven Barth pascaldragon at googlemail.com
Sun Apr 4 22:36:04 CEST 2021


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 at 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


More information about the fpc-pascal mailing list