Delphi DeHL Deserialize XML file in new class?

I use DeHL to serialize XML and a class in Delphi, and if I add a property to my class and try to deserialize my XML file. I have this error: "Desert" \ TApp \ FObject \ test "failed. The serializer reported that it was missing or another object was currently read !.

I understand this problem well, but is there a way to set the default value instead of an error?

+3
source share
1 answer

Alex answer me this:

- "part2" [XmlNullable]. , XML "part2" NIL, XML node.

, . " " .

- , , : http://alex.ciobanu.org/?p=285#comments

+3

Source: https://habr.com/ru/post/1767022/


All Articles