Delphi DeHL Deserialize XML File in newer class? -



Delphi DeHL Deserialize XML File in newer class? -

i utilize dehl serilize xml , class in delphi , if add together property class , seek deserialize xml file. have error : ‘deserializing « \tapp\fobject\test » failed. serializer reported it’s missing or other entity read!’.

i understand quite problem there way set default value instead of error ?

alex reply me :

you should able — annotating “part2″ field [xmlnullable]. tell xml serializer set “part2″ field nil if not have xml node.

note while possible it’s not recommended. deserialized content should serialized original types otherwise “bad things” may happen.

i inquire question long time ago on site not able find inquire question : http://alex.ciobanu.org/?p=285#comments

xml delphi xml-serialization delphi-2010 dehl

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -