All open source object serialization libraries which I know of (JvAppStorage, NativeXml, OmniXML, SuperObject, lkJSON) seem to have no support for Generics properties yet. (Please correct me if I am wrong).
Do you know a library which has this feature or plans to add it? How about the JSON serialization library in Delphi 2010 (I am still using Delphi 2009)
Example
...
published
property Prop1: TObjectList<TMyPersistent> read GetProp1 write SetProp1;
...
Have a look to my simple solution using JCL/JVCL serializer in this post:
How to serialize Delphi TObjectList<TMyClass> type to XML with TJvAppXMLFileStorage?
DeHL have for XML, ini but still not for JSON
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With