History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-384
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Assignee: Joerg Schaible
Reporter: sebbaz+ch
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

Add shouldDeSerializeMember() method to Mapper interface.

Created: 06/Mar/07 09:49 AM   Updated: 19/Sep/07 07:30 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.2


 Description  « Hide
The Mapper interface has a method shouldSerializeMember() which can be used to override the default choice as to whether to serialise a member field or not.

It would be useful to implement the reverse; i.e allow some serialised members to be ignored during unmarshalling.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joerg Schaible - 24/Jul/07 12:14 PM
Since version 1.2.2 XStram is calling shouldSerializeMember also at deserialization time to enable omitField(...) for missing elements. Give it a try.