background preloader

Programacion

Facebook Twitter

Generator

Java. José María Bea. How to serialize Delphi object « Serge's Technology View. It has been a very lean and easy option of .Net to able serialize/deserialize any serializable object instance.

How to serialize Delphi object « Serge's Technology View

Only closest option in Delphi is to stream the component using WriteComponent/WriteComponentRes of TStream/TWriter (used for Form storage as DFM, for example). It can be then read back using appropriate counterpart ReadComponent/ReadComponentRes. Python Programming Language.