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

1111. appearing after print sequence - php -

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

node.js - Express and Redis - If session exists for this user, don't allow access -