![]() ![]() ![]() Its what a parser and compiler generates before transforming it into machine-code, or in my case bytecodes and JavaScript.Įverything is parsed, validated and placed into the AST structure.Įvery parameter or return datatype is attached to its logical parent. Delphi Serialize Class To Xml Portable Format AtĪgain I find this to completely defeat the purpose of both JSON, RTTI and persistence the whole point of serialization is being able to reduce an instance to a portable, safe, readable format (string) and then re-create that instance without any loss of information from the portable format at will.īut what about those cases where you dont know, where you have a large inheritance chain involving many classes all of which can be serialized and have parentchild relationships impossible to predict. I mean, what is the point of RTTI if you cannot automate how classes are saved And perhaps more importantly: how classes are loaded back. Some RTTI walkers, some binary only streaming, and some even hand-write every property, which to me utterly defeats the purpose of RTTI. So you start looking at whats already in Delphi rather than coding a faster, cooler version of the wheel. Delphi Serialize Class To Xml Portable Format At. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |