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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -