Summary
SkipAllAttribute can be applied to record or class type to specify that any unknown field or property should be ignored silently while de-seializing.
Syntax
SkipAllAttribute = class(TSerlnAttr);
Remarks
Usually, if some class or record member was removed or renamed in the new version of application, de-serializing data, which contains that removed member, will produce "Member not found" error. SkipAllAttribute can be used to suppress this error and ignore any unknown member data silently.
Examples
Delphi | Copy Code |
---|---|
type [SkipAll] TMyObject = class end; |