@XStreamOmitField
Has anybody tried this annotation. I can't get it to work.
Despite some complaints from other people, official response on the problem - it work, there are unit tests... or can not reproduce...
Has anybody tried this annotation. I can't get it to work.
Despite some complaints from other people, official response on the problem - it work, there are unit tests... or can not reproduce...
Comments
Try this:
http://code.google.com/p/xbird/source/browse/trunk/xbird-open/main/test/...
did you call xstream.autodetectAnnotations(true) ?
yes it works check if you have
xstream.processAnnotations(XXX.class);
or you can also do it without an annotation, like:
xstream.omitField(XXX.class, "VAR_NAME");