Dalija Prasnikar
The “When in Rome, do as the Romans do” blog post series used serialization as an example of what happens when applying inappropriate coding patterns for some language. It demonstrated how field-based serialization does not… … Read more
4 years ago in Serialization0
Dalija Prasnikar
In Delphi, properties can be backed by simple fields, but they can also have getter and setter functions that can be vital to the proper functioning of a class. They can contain additional initialization code,… … Read more
4 years ago in Delphi, Serialization0
Dalija Prasnikar
In the previous article, we learned that native Delphi serialization is based around published properties, and that other kinds of serialization, like field-based serialization, don’t fit well with the Delphi model. Photo: Gary Todd from… … Read more
4 years ago in Delphi, Serialization0
Dalija Prasnikar
While different OOP languages share some common principles and many coding patterns will be the same or at least fairly similar, there are also some significant differences that can make some commonly used patterns from… … Read more
4 years ago in Delphi, Serialization0
Uwe Raabe
In the previous blog post we learned how to decorate a field of a class with attributes to adjust the Json serialization to our needs. This post is about serializing fields of type TObjectList<T> or… … Read more
5 years ago in Delphi, JSON, programming, Serialization0
Uwe Raabe
Serializing objects to Json as well as de-serializing them with the Delphi standard libraries has been subject to many discussions. While the majority suggests to use another library or a self implemented solution, there are… … Read more
5 years ago in Delphi, JSON, programming, Serialization0