c# - Deserialize fields with NonSerialized attribute -
i have problem serialization , deserialization of object. have object foo different properties , of properties have attribute nonserialized. have cases when want serialize fields , read serialized object fields. possible do?
if have control on class foo
use shouldserialize
attribute control whether field should serialized. idea how works can here xml serialization - hide null values
Comments
Post a Comment